Home
last modified time | relevance | path

Searched refs:defined (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/PHP-8.1/Zend/tests/
H A Dbug42820.phpt2 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 …]
H A Ddefined_fn_no_ns_fallback.phpt2 There should be no namespace fallback when using the defined() function
8 var_dump(\defined('Foo\PHP_INT_MAX'));
11 var_dump(\defined($const));
H A Dlsb_014.phpt2 ZE2 Late Static Binding access to static::const through defined() and get_constant()
8 var_dump(defined("static::ok"));
9 if (defined("static::ok")) {
H A Dconstants_005.phpt2 Persistent case insensitive and user defined constants
5 var_dump(defined('ZEND_THREAD_safe'));
H A Dconstants_008.phpt10 if (defined('a')) {
16 Warning: Constant a already defined in %s on line %d
H A Dbug29890.phpt17 //should return a notice that the constant is already defined
23 error :Constant TEST already defined
H A Dbug69315.phpt4 disable_functions=strlen,defined,call_user_func,constant,is_string
16 var_dump(defined("PHP_VERSION"));
46 Call to undefined function defined()
H A Dbug47593.phpt24 var_dump(defined('\test\TEST'));
25 var_dump(defined('TEST'));
H A Dbug53727.phpt14 echo (defined('ChildClass::TEST_CONSTANT') ? 'true' : 'false') . "\n";
17 echo (defined('ParentClass::TEST_CONSTANT') ? 'true' : 'false') . "\n";
H A Dbug35634.phpt7 if (defined("pass3")) {
12 } else if (defined("pass2")) {
/PHP-8.1/ext/standard/tests/image/
H A Dskipif_imagetype.inc2 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 …]
H A Dimage_type_to_mime_type_variation4.phpt7 if (!defined("IMAGETYPE_SWC")) {
8 die("skip IMAGETYPE_SWC is not defined ");
/PHP-8.1/ext/opcache/tests/jit/
H A Ddefined_001.phpt14 $a = defined("X");
15 $b = defined("X");
16 if (defined("X")) {
21 if (!defined("X")) {
H A Dconst_001.phpt2 JIT CONST: defined
17 var_dump(defined("CUSTOM_CONSTANT"));
19 var_dump(defined("CUSTOM_CONSTANT"));
/PHP-8.1/ext/pcre/tests/
H A D005.phpt122 [8] => `oci_ping' defined but not used
225 [8] => `nope' defined but not used
330 [8] => `yy_fatal_error' defined but not used
336 [14] => `yy_last_accepting_cpos' defined but not used
339 [17] => `yy_more_flag' defined but not used
342 [20] => `yy_more_len' defined but not used
345 [23] => `yyunput' defined but not used
348 [26] => `yy_top_state' defined but not used
363 [8] => `yy_last_accepting_state' defined but not used
369 [14] => `yyunput' defined but not used
[all …]
/PHP-8.1/tests/lang/
H A Dbug27443.phpt2 Bug #27443 (defined() returns wrong type)
5 echo gettype(defined('test'));
/PHP-8.1/ext/standard/tests/strings/
H A Dsprintf_variation15.phpt10 This is string defined
273 string(37) "This is string defined
275 string(37) "This is string defined
277 string(38) " This is string defined
279 string(38) "This is string defined
281 string(38) " This is string defined
284 This is string defined
286 string(37) "This is string defined
288 string(37) "This is string defined
/PHP-8.1/ext/com_dotnet/tests/
H A Dbug77621.phpt2 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…
/PHP-8.1/ext/dom/tests/
H A Dlibxml_global_state_entity_loader_bypass.phpt34 string(25) "Entity 'bork' not defined"
35 string(25) "Entity 'bork' not defined"
36 string(25) "Entity 'bork' not defined"
/PHP-8.1/ext/curl/tests/
H A Dcurl_multi_segfault.phpt7 …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");
H A Dcurl_ftp_pasv.phpt7 …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");
/PHP-8.1/ext/spl/tests/
H A Ddit_001_noglob.phpt5 if (defined('GLOB_ERR')) print "skip GLOB_ERR defined";
/PHP-8.1/ext/intl/tests/
H A Dresourcebundle_internal.phpt6 <?php if( !defined('INTL_ICU_DATA_VERSION')) print 'skip INTL_ICU_DATA_VERSION constant not defined
/PHP-8.1/ext/standard/tests/general_functions/
H A Dphp_uname_basic.phpt10 echo "\n-- Try all the defined mode's --\n";
24 -- Try all the defined mode's --
/PHP-8.1/ext/standard/tests/serialize/
H A Dserialization_objects_007.phpt2 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

Completed in 33 milliseconds

12345678910>>...16