Searched refs:defined (Results 1 – 25 of 403) sorted by relevance
12345678910>>...17
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 …]
7 if (!defined("IMAGETYPE_SWC")) {8 die("skip 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"));
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 …]
2 Bug #27443 (defined() returns wrong type)5 echo gettype(defined('test'));
2 Referencing trait constants directly on calling \defined() returns false10 var_dump(\defined('TestTrait::Constant'));
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
35 string(25) "Entity 'bork' not defined"36 string(25) "Entity 'bork' not defined"37 string(25) "Entity 'bork' not defined"
2 Bug #77621 (Already defined constants are not properly reported)14 Warning: com_load_typelib(): Type library constant ADSTYPE_INVALID is already defined in %s on line…
7 …PHP_CURL_FTP_REMOTE_SERVER')) exit("skip PHP_CURL_FTP_REMOTE_SERVER env variable is not defined");8 …nv('PHP_CURL_FTP_REMOTE_USER')) exit("skip PHP_CURL_FTP_REMOTE_USER env variable is not defined");9 …PHP_CURL_FTP_REMOTE_PASSWD')) exit("skip PHP_CURL_FTP_REMOTE_PASSWD env variable is not defined");
81 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…83 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…85 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…87 Warning: session_write_close(): Failed to write session data using user defined save handler. (sess…
5 if (defined('GLOB_ERR')) print "skip GLOB_ERR defined";
6 <?php if( !defined('INTL_ICU_DATA_VERSION')) print 'skip INTL_ICU_DATA_VERSION constant not defined…
246 #if (defined (__GNUC__) && __GNUC__ >= 2)337 #if defined(__GNUC__)342 #if defined(__GNUC__) && ZEND_GCC_VERSION >= 4008 && defined(i386)345 #elif defined(__GNUC__) && ZEND_GCC_VERSION >= 4008 && defined(__x86_64__)348 #elif defined(__GNUC__) && ZEND_GCC_VERSION >= 4008 && defined(__powerpc64__)351 #elif defined(__IBMC__) && ZEND_GCC_VERSION >= 4002 && defined(__powerpc64__)354 #elif defined(__GNUC__) && ZEND_GCC_VERSION >= 4008 && defined(__aarch64__)357 #elif defined(__GNUC__) && ZEND_GCC_VERSION >= 4008 && defined(__riscv) && __riscv_xlen == 64
Completed in 39 milliseconds