/PHP-7.2/ext/phar/tests/zip/files/ |
H A D | corrupt_count1.php.inc | 3 $a = new corrupt_zipmaker; 4 $a->addFile('hi', null, 'hii'); 5 $a->addFile('hi2', null, 'hii2'); 6 $a->writeZip(dirname(__FILE__) . '/count1.zip', 'count1'); 7 $a->writeZip(dirname(__FILE__) . '/count2.zip', 'count2'); 8 $a->writeZip(dirname(__FILE__) . '/nozipend.zip', 'none'); 9 $a->writeZip(dirname(__FILE__) . '/filecomment.zip', 'comment'); 10 $a->writeZip(dirname(__FILE__) . '/cdir_offset.zip', 'cdir_offset');
|
/PHP-7.2/ext/standard/tests/strings/ |
H A D | bug51899.phpt | 6 var_dump(parse_ini_string('a=')); 7 var_dump(parse_ini_string('a= ')); 8 var_dump(parse_ini_string('a='.PHP_EOL)); 9 var_dump(parse_ini_string('a=b ')); 17 ["a"]=> 21 ["a"]=> 25 ["a"]=> 29 ["a"]=>
|
/PHP-7.2/ext/standard/tests/file/ |
H A D | fscanf_variation26.phpt | 8 Description: Parses input from a file according to a format 17 // create a file 24 $char_types = array( 'a', "a", 67, -67, 99 ); 74 string(1) "a" 78 string(1) "a" 97 string(1) "a" 101 string(1) "a" 120 string(1) "a" 124 string(1) "a" 143 string(1) "a" [all …]
|
H A D | fgetcsv_variation12.phpt | 33 "a+", "a+b", "a+t"); 53 // write another line of text and a blank line 55 // working when only a blank line is read 166 -- Testing fgetcsv() with file opened using a+ mode -- 178 -- Testing fgetcsv() with file opened using a+b mode -- 190 -- Testing fgetcsv() with file opened using a+t mode -- 274 -- Testing fgetcsv() with file opened using a+ mode -- 286 -- Testing fgetcsv() with file opened using a+b mode -- 298 -- Testing fgetcsv() with file opened using a+t mode -- 382 -- Testing fgetcsv() with file opened using a+ mode -- [all …]
|
/PHP-7.2/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller4.phar | 2 function s($a) 5 if (isset($b[$a])) return $b[$a]; 6 return $a; 12 …a.php�WX��жa.jpg�WX��жa.phps�WXl�`�…
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_unshift.phpt | 6 $a = array(); 8 var_dump(array_unshift($a, $s)); 9 var_dump($a); 10 var_dump(array_unshift($s, $a)); 11 var_dump($a); 12 var_dump(array_unshift($a, $a)); 13 var_dump($a);
|
H A D | bug28974.phpt | 5 $a = $b = $c = array(0,1,2,3,4,5); 6 print_r($a); 8 print_r(array_slice($a,2,2147483645)); 11 print_r(array_slice($a,2,2147483646)); 12 echo 'print_r(array_splice($a,2,1));'."\n"; 13 print_r(array_splice($a,2,1)); 14 echo "\$a is :"; 15 print_r($a); 51 print_r(array_splice($a,2,1)); 56 $a is :Array
|
/PHP-7.2/ext/pcre/tests/ |
H A D | bug42945.phpt | 6 var_dump(preg_match_all('/\b/', "a'", $m, PREG_OFFSET_CAPTURE)); 9 var_dump(preg_split('/\b/', "a'")); 10 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_OFFSET_CAPTURE)); 11 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY)); 12 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY|PREG_SPLIT_OFFSET_CAPTURE)); 40 string(1) "a" 55 string(1) "a" 69 string(1) "a" 77 string(1) "a"
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | bug70272.phpt | 13 $a = new Stdclass(); 14 $a->a = &$a; 22 $a->c = $db; 23 $a->b = $db->prepare("select 1"); 24 $a->d = $db->prepare("select 2"); 25 $a->e = $db->prepare("select 3"); 26 $a->f = $db->prepare("select 4");
|
/PHP-7.2/Zend/tests/ |
H A D | bug30889.phpt | 10 $this->values = array('a' => 0); 24 $test->a++; // __get(), then __set() 25 ++$test->a; 28 get a (returns 0) 29 set a = 1 (a was 0) 30 get a (returns 1) 31 set a = 2 (a was 1)
|
H A D | closure_020.phpt | 10 $a = &$this; 11 $this->a = function() use (&$a) { return $a; }; 12 var_dump($this->a->__invoke()); 13 var_dump(is_a($this->a, 'closure')); 14 var_dump(is_callable($this->a)); 16 return $this->a; 29 ["a"]=> 33 ["a"]=>
|
H A D | bug54262.phpt | 2 Bug #54262 (Crash when assigning value to a dimension in a non-array) 5 $a = '0'; 6 var_dump(isset($a['b'])); 7 $simpleString = preg_match('//', '', $a->a); 14 Warning: Attempt to modify property 'a' of non-object in %sbug54262.php on line 4 16 Warning: Cannot use a scalar value as an array in %sbug54262.php on line 5
|
H A D | bug70805_2.phpt | 15 if (isset($GLOBALS["a"])) { 16 unset($GLOBALS["a"]); 21 $a = new A; 22 $a->b = new B; 23 $a->b->a = $a; 36 unset($a);
|
H A D | bug39449.phpt | 15 $a =new A(); 16 $a->arr = array('a','b','c'); 18 $b = &$a->arr; 21 foreach ($a->arr as $k => $v) { 25 $a->arr[]='d'; 27 foreach ($a->arr as $k => $v) { 32 0 => a 36 0 => a
|
H A D | property_exists.phpt | 8 $a = new A; 9 var_dump(property_exists($a, "prot")); 10 var_dump(property_exists($a, "prot2")); 11 var_dump(property_exists($a, "prot3")); 19 $a = new A; 20 var_dump(property_exists($a, "prot")); 21 var_dump(property_exists($a, "prot2")); 22 var_dump(property_exists($a, "prot3")); 38 $a = new a; 39 $a->nonstaticTest();
|
/PHP-7.2/ext/phar/tests/ |
H A D | mkdir.phpt | 14 $a = new Phar($fname); 15 $a['a'] = 'hi'; 16 mkdir($pname . '/a'); 19 rmdir($pname . '/a'); 20 $a->addEmptyDir('bb'); 21 $a->addEmptyDir('bb'); 23 $a->addEmptyDir('.phar'); 39 …): phar error: cannot create directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists… 45 …): phar error: cannot remove directory "a" in phar "%smkdir.phar.php", phar error: path "a" exists… 46 Cannot create a directory in magic ".phar" directory
|
H A D | badparameters.phpt | 20 $a = new Phar(array()); 43 $a->delete('oops'); 54 $a->setAlias('oops'); 72 $a->setStub('oops'); 82 $a->setStub(array()); 102 $a->compress(1); 112 $a->copy(array()); 114 $a->copy('a', 'b'); 125 $a->offsetUnset('a'); 133 $a->setMetadata('a'); [all …]
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | bug66084_1.phpt | 8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n"; 9 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n"; 10 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n"; 11 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n"; 12 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n";
|
/PHP-7.2/ext/reflection/tests/ |
H A D | bug49719.phpt | 2 Bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class) 7 private $a; 17 var_dump(property_exists('b', 'a')); 18 var_dump(property_exists($b, 'a')); 19 var_dump($ref->hasProperty('a')); 20 var_dump($ref->getProperty('a')); 26 private $a = 1; 30 private $a = 2; 34 $prop = $b2->getProperty('a'); 43 %string|unicode%(25) "Property a does not exist"
|
/PHP-7.2/Zend/ |
H A D | zend_multiply.h | 32 (dval) = (double) (a) * (double) (b); \ 42 (dval) = (double) (a) * (double) (b); \ 54 : "0"(a), "r"(b), "1"(0)); \ 66 : "r"(a), "r"(b)); \ 79 : "r"(a), "r"(b)); \ 90 __int64 __low = _mul128((a), (b), &__high); \ 96 (dval) = (double)(a) * (double)(b); \ 101 zend_long __lres = (a) * (b); \ 119 : "r"(a), "r"(b)); \ 121 (dval) = (double) (a) * (double) (b); \ [all …]
|
/PHP-7.2/tests/lang/ |
H A D | 007.phpt | 6 $a = 10; 10 static $a=1; 14 echo "$a $b "; 15 $a++; 17 echo "$a $c "; 21 echo "$a $b $c "; 23 echo "$a $b $c ";
|
/PHP-7.2/ext/phar/tests/files/ |
H A D | frontcontroller3.phar | 2 function s($a) 4 static $b = array("/hi" => "a.phps"); 5 if (isset($b[$a])) return $b[$a]; 6 return $a; 12 va.php&XX��жa.jpg&XX��жa.phps&…
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | phpcredits.phpt | 20 %a 23 %a 26 %a 29 %a 32 %a 35 %a 38 %a 41 %a 53 %a
|
/PHP-7.2/ext/intl/tests/ |
H A D | collator_asort.phpt | 63 array( 'a' => 'a' , 67 array( 'a' => 'a' , 68 'aaa'=> 'a' , 127 'a' => 'k' ) 142 'a' => 'k', 149 'a' => 'a', 157 'a' => 'a', 158 'aaa' => 'a', 159 'aa' => 'a', 207 3 => ' a', [all …]
|
H A D | collator_asort_variant2.phpt | 63 array( 'a' => 'a' , 67 array( 'a' => 'a' , 68 'aaa'=> 'a' , 127 'a' => 'k' ) 142 'a' => 'k', 149 'a' => 'a', 157 'a' => 'a', 158 'aaa' => 'a', 159 'aa' => 'a', 207 3 => ' a', [all …]
|