X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fnormal%2FRandomTest.php;h=06029868f127bde7c63e8a5d3c75ccb4e7c2ed8b;hb=f0a00a49b1be46b51aeef712f363305bce4448fa;hp=23471e94e10012c7c7a9be50e066d2216f9932e7;hpb=a32b7439e35829c34aef0654de8ed6b4dbbad701;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 );