Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 25 of 191) sorted by relevance

12345678

/PHP-5.5/Zend/tests/
H A Dbug60362.phpt5 $arr = array('exists' => 'foz');
7 if (isset($arr['exists']['non_existent'])) {
9 var_dump($arr['exists']['non_existent']);
13 if (isset($arr['exists'][1])) {
15 var_dump($arr['exists'][1]);
27 if (isset($arr['exists'][1][0])) {
29 var_dump($arr['exists'][1][0]);
41 if (empty($arr['exists'][1])) {
45 var_dump($arr['exists'][1]);
55 if (empty($arr['exists'][1][0])) {
[all …]
H A Dns_045.phpt2 045: Name conflict and constants (php name in case if ns name exists)
H A Dns_005.phpt2 005: Name conflict (php name in case if ns name exists)
H A Dns_015.phpt2 015: Name conflict and functions (php name in case if ns name exists)
H A Dns_052.phpt2 052: Name conflict and compile-time constants (php name in case if ns name exists)
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug44295-win.phpt6 if (!extension_loaded("spl") || is_dir('c:\\not\\exists\\here')) die("skip");
10 $dir = 'c:\\not\\exists\\here';
28 in catch: DirectoryIterator::__construct(c:\not\exists\here,c:\not\exists\here): %s (code: 3)
/PHP-5.5/ext/simplexml/tests/
H A D021.phpt9 $doc = simplexml_load_string('<root><exists>foo</exists></root>');
10 if(!isset($doc->exists)) {
/PHP-5.5/ext/standard/tests/file/
H A D001-win32.phpt16 echo "test.file exists\n";
23 echo "test.file exists\n";
33 echo "test.file exists\n";
74 echo "test.file exists (cached)\n";
80 echo "test.file exists\n";
87 test.file exists
89 test.file exists
H A D001.phpt16 echo "test.file exists\n";
23 echo "test.file exists\n";
30 echo "test.link exists\n";
45 echo "test.file exists\n";
110 echo "test.file exists (cached)\n";
116 echo "test.file exists\n";
123 test.file exists
124 test.link exists
127 test.file exists
H A Dunlink_variation6.phpt28 echo "$file exists\n";
38 subdir/testfile.txt exists
H A Dsymlink_link_linkinfo_is_link_variation8.phpt39 var_dump( link($filename, $dirname."/") ); // this fails indicating file exists
59 var_dump( symlink($filename, $dirname."/") ); // this fails indicating file exists
74 Warning: link(): File exists in %s on line %d
80 Warning: symlink(): File exists in %s on line %d
H A Dcopy_basic.phpt21 echo "-- Checking whether the copy of file exists --\n";
50 -- Checking whether the copy of file exists --
H A Dsymlink_link_linkinfo_is_link_variation7.phpt80 Warning: symlink(): File exists in %s on line %d
86 Warning: symlink(): File exists in %s on line %d
92 Warning: link(): File exists in %s on line %d
/PHP-5.5/ext/dom/tests/
H A Ddomelement.phpt22 echo 'Attribute num exists?: '.($node->hasAttribute('num')?'Yes':'No')."\n";
25 echo 'Attribute num exists?: '.($node->hasAttribute('num')?'Yes':'No')."\n";
38 echo 'Attribute xml:lang exists?: '.($node->hasAttributeNS('http://www.w3.org/XML/1998/namespace', …
42 echo 'Attribute xml:lang exists?: '.($node->hasAttributeNS('http://www.w3.org/XML/1998/namespace', …
91 Attribute num exists?: Yes
93 Attribute num exists?: No
100 Attribute xml:lang exists?: Yes
102 Attribute xml:lang exists?: No
/PHP-5.5/ext/mbstring/tests/
H A Dmb_strstr_basic.phpt24 echo "\n-- ASCII string: needle exists --\n";
33 echo "\n-- Multibyte string: needle exists --\n";
49 -- ASCII string: needle exists --
57 -- Multibyte string: needle exists --
H A Dmb_strrchr_basic.phpt24 echo "\n-- ASCII string: needle exists --\n";
33 echo "\n-- Multibyte string: needle exists --\n";
49 -- ASCII string: needle exists --
57 -- Multibyte string: needle exists --
H A Dmb_stristr_basic.phpt31 echo "\n-- ASCII string: needle exists --\n";
40 echo "\n-- Multibyte string: needle exists --\n";
55 -- ASCII string: needle exists --
63 -- Multibyte string: needle exists --
H A Dmb_strrichr_basic.phpt31 echo "\n-- ASCII string: needle exists --\n";
40 echo "\n-- Multibyte string: needle exists --\n";
55 -- ASCII string: needle exists --
63 -- Multibyte string: needle exists --
H A Dmb_stristr_variation5.phpt32 echo "\n-- ASCII string: needle exists --\n";
41 echo "\n-- Multibyte string: needle exists --\n";
54 -- ASCII string: needle exists --
62 -- Multibyte string: needle exists --
H A Dmb_strrichr_variation5.phpt32 echo "\n-- ASCII string: needle exists --\n";
41 echo "\n-- Multibyte string: needle exists --\n";
54 -- ASCII string: needle exists --
62 -- Multibyte string: needle exists --
/PHP-5.5/ext/xsl/tests/
H A Dbug54446_with_ini.phpt41 print "$outputfile exists, but shouldn't!\n";
54 print "OK, file exists\n";
68 print "$outputfile exists, but shouldn't!\n";
79 print "$outputfile exists, but shouldn't!\n";
90 print "OK, file exists\n";
109 OK, file exists
132 OK, file exists
H A Dbug54446.phpt41 print "$outputfile exists, but shouldn't!\n";
54 print "OK, file exists\n";
68 print "$outputfile exists, but shouldn't!\n";
83 OK, file exists
/PHP-5.5/sapi/cli/tests/
H A Dphp_cli_server_016.phpt2 Bug #60591 (Memory leak when access a non-exists file)
31 POST /no-exists.jpg HTTP/1.1
/PHP-5.5/Zend/
H A Dzend_ini.c382 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists) /* {{{… in zend_ini_string_ex() argument
388 if (exists) { in zend_ini_string_ex()
389 *exists = 1; in zend_ini_string_ex()
398 if (exists) { in zend_ini_string_ex()
399 *exists = 0; in zend_ini_string_ex()
408 zend_bool exists = 1; in zend_ini_string() local
411 return_value = zend_ini_string_ex(name, name_length, orig, &exists); in zend_ini_string()
412 if (!exists) { in zend_ini_string()
/PHP-5.5/ext/standard/tests/array/
H A Dbug46873.phpt2 Bug #46873 (extract($foo) crashes if $foo['foo'] exists)

Completed in 113 milliseconds

12345678