Searched refs:defined (Results 1 – 25 of 360) sorted by relevance
12345678910>>...15
2 Bug #42820 (defined() on constant with namespace prefixes tries to load class)10 var_dump(defined('ns\\ok'));11 var_dump(defined('ns\\bug'));12 var_dump(defined('\\ns\\ok'));13 var_dump(defined('\\ns\\bug'));14 var_dump(defined('ns\\foo::ok'));15 var_dump(defined('ns\\foo::bug'));16 var_dump(defined('\\ns\\foo::ok'));17 var_dump(defined('\\ns\\foo::bug'));18 var_dump(defined('ns\\bar::bug'));[all …]
2 There should be no namespace fallback when using the defined() function8 var_dump(\defined('Foo\PHP_INT_MAX'));11 var_dump(\defined($const));
2 ZE2 Late Static Binding access to static::const through defined() and get_constant()8 var_dump(defined("static::ok"));9 if (defined("static::ok")) {
2 Persistent case insensitive and user defined constants5 var_dump(defined('ZEND_THREAD_safe'));
10 if (defined('a')) {16 Warning: Constant a already defined in %s on line %d
17 //should return a notice that the constant is already defined23 error :Constant TEST already defined
4 disable_functions=strlen,defined,call_user_func,constant,is_string16 var_dump(defined("PHP_VERSION"));46 Call to undefined function defined()
24 var_dump(defined('\test\TEST'));25 var_dump(defined('TEST'));
14 echo (defined('ChildClass::TEST_CONSTANT') ? 'true' : 'false') . "\n";17 echo (defined('ParentClass::TEST_CONSTANT') ? 'true' : 'false') . "\n";
7 if (defined("pass3")) {12 } else if (defined("pass2")) {
2 if (!defined('IMAGETYPE_GIF')) die('skip images of type GIF not supported');3 if (!defined('IMAGETYPE_JPEG')) die('skip images of type JPEG not supported');4 if (!defined('IMAGETYPE_PNG')) die('skip images of type PNG not supported');5 if (!defined('IMAGETYPE_SWF')) die('skip images of type SWF not supported');6 if (!defined('IMAGETYPE_PSD')) die('skip images of type PSD not supported');7 if (!defined('IMAGETYPE_BMP')) die('skip images of type BMP not supported');8 if (!defined('IMAGETYPE_TIFF_II')) die('skip images of type TIFF not supported');9 if (!defined('IMAGETYPE_TIFF_MM')) die('skip images of type TIFF not supported');10 if (!defined('IMAGETYPE_JPC')) die('skip images of type JPC not supported');11 //if (!defined('IMAGETYPE_JP2')) die('skip images of type JP2 not supported');[all …]
5 if (!defined("IMAGETYPE_SWC") || !extension_loaded('zlib')) {6 die("skip zlib extension is not available or IMAGETYPE_SWC is not defined ");
14 $a = defined("X");15 $b = defined("X");16 if (defined("X")) {21 if (!defined("X")) {
2 JIT CONST: defined17 var_dump(defined("CUSTOM_CONSTANT"));19 var_dump(defined("CUSTOM_CONSTANT"));
2 Bug #27443 (defined() returns wrong type)5 echo gettype(defined('test'));
122 [8] => `oci_ping' defined but not used225 [8] => `nope' defined but not used330 [8] => `yy_fatal_error' defined but not used336 [14] => `yy_last_accepting_cpos' defined but not used339 [17] => `yy_more_flag' defined but not used342 [20] => `yy_more_len' defined but not used345 [23] => `yyunput' defined but not used348 [26] => `yy_top_state' defined but not used363 [8] => `yy_last_accepting_state' defined but not used369 [14] => `yyunput' defined but not used[all …]
10 This is string defined273 string(37) "This is string defined275 string(37) "This is string defined277 string(38) " This is string defined279 string(38) "This is string defined281 string(38) " This is string defined284 This is string defined286 string(37) "This is string defined288 string(37) "This is string defined
34 string(25) "Entity 'bork' not defined"35 string(25) "Entity 'bork' not defined"36 string(25) "Entity 'bork' not defined"
2 Bug #77621 (Already defined constants are not properly reported)16 Warning: com_load_typelib(): Type library constant ADSTYPE_INVALID is already defined in %s on line…
6 …PHP_CURL_FTP_REMOTE_SERVER')) exit("skip PHP_CURL_FTP_REMOTE_SERVER env variable is not defined");7 …nv('PHP_CURL_FTP_REMOTE_USER')) exit("skip PHP_CURL_FTP_REMOTE_USER env variable is not defined");8 …PHP_CURL_FTP_REMOTE_PASSWD')) exit("skip PHP_CURL_FTP_REMOTE_PASSWD env variable is not defined");
5 if (defined('GLOB_ERR')) print "skip GLOB_ERR defined";
10 echo "\n-- Try all the defined mode's --\n";24 -- Try all the defined mode's --
2 Ensure __autoload is called twice if unserialize_callback_func is defined.26 Warning: unserialize(): Function check() hasn't defined the class it was called for in %s on line %d
5 <?php if( !defined('INTL_ICU_DATA_VERSION')) print 'skip INTL_ICU_DATA_VERSION constant not defined…
5 if (!defined('PASSWORD_ARGON2I')) die('skip password_get_info not built with Argon2');6 if (!defined('PASSWORD_ARGON2ID')) die('skip password_get_info not built with Argon2');
Completed in 22 milliseconds