1. Go to this page and download the library: Download belsrc/php-dotnet library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
belsrc / php-dotnet example snippets
use \PhpDotNet\Collection\ArrayList;
use \PhpDotNet\Collection\Dictionary;
'Delta',
'Epsilon',
'Zeta',
'Eta',
'Theta',
) );
$list->any( function( $element ) {
return $element === '';
} );
// false
$altered = $list->each( function( $element ) {
$tmp = str_split( $element );
unset( $tmp[0] );
return implode( '', $tmp );
} );
echo $altered;
// lpha, eta, amma, elta, psilon, eta, ta, heta
foreach( $list as $item ) {
echo "$item</br>";
}
/*
Alpha
Beta
Gamma
Delta
Epsilon
Zeta
Eta
Theta
*/
{
" "belsrc/php-dotnet": "dev-master"
}
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.