X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fnormal%2FRandomTest.php;h=06029868f127bde7c63e8a5d3c75ccb4e7c2ed8b;hb=19084be0a2a11725bb319ca7137cedfc159daef1;hp=23471e94e10012c7c7a9be50e066d2216f9932e7;hpb=cacccb52da2eb88f2bf60f95f173ceda35d2acbf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php index 23471e94e1..06029868f1 100644 --- a/includes/normal/RandomTest.php +++ b/includes/normal/RandomTest.php @@ -26,15 +26,15 @@ * @ingroup UtfNormal */ -if( php_sapi_name() != 'cli' ) { +if( PHP_SAPI != 'cli' ) { die( "Run me from the command line please.\n" ); } /** */ -require_once( 'UtfNormal.php' ); -require_once( '../diff/DifferenceEngine.php' ); +require_once 'UtfNormal.php'; +require_once '../diff/DifferenceEngine.php'; -dl('php_utfnormal.so' ); +dl( 'php_utfnormal.so' ); # mt_srand( 99999 );