/PHP-5.5/Zend/tests/ |
H A D | gc_021.phpt | 7 $a = array(); 8 $a[0] =& $a; 9 $a[1] = array(); 10 $a[1][0] =& $a[1]; 12 $a =& $b;
|
H A D | bug39127.phpt | 6 class a { function a() { var_dump("a::a() called"); } } 7 class b extends a {} 10 var_dump(is_callable(array($b,"a"))); 17 string(13) "a::a() called"
|
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 | 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();
|
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
|
/PHP-5.5/ext/date/tests/ |
H A D | sunfuncts.phpt | 8 for($a=1;$a<=12;$a++){ 9 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." "; 10 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." "; 11 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n"; 13 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." "; 14 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." "; 15 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
|
/PHP-5.5/tests/lang/ |
H A D | engine_assignExecutionOrder_004.phpt | 22 global $a; 23 $a = array(10, 11, 12, 13, 14); 28 $a = 0; // $a should not be indexable till the i4 has been executed 29 list($a[i1()+i2()], , list($a[i3()], $a[i4()]), $a[]) = array (0, 1, array(30, 40), 3, 4); 31 var_dump($a);
|
H A D | foreachLoopObjects.006.phpt | 7 public $a = "Original a"; 17 $obj2->a = "new a"; 45 $ref=$a; 57 $ref = &$a; 59 foreach ($a as $v) { 75 string(10) "Original a" 77 string(5) "new a" 84 ["a"]=> 85 string(5) "new a" 99 string(10) "Original a" [all …]
|
/PHP-5.5/ext/gd/tests/ |
H A D | gd_info_variation1.phpt | 28 string(%d) %a 30 bool%a 32 bool%a 34 bool%a 36 bool%a 38 bool%a 40 bool%a 42 bool%a 44 bool%a 46 bool%a [all …]
|
/PHP-5.5/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-5.5/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-5.5/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 | 14 $a = new Phar(array()); 22 $a->delete('oops'); 33 $a->setAlias('oops'); 51 $a->setStub('oops'); 61 $a->setStub(array()); 81 $a->compress(1); 91 $a->copy(array()); 93 $a->copy('a', 'b'); 104 $a->offsetUnset('a'); 112 $a->setMetadata('a'); [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
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-5.5/ext/session/tests/ |
H A D | bug26862.phpt | 14 echo '<a href="file.php">link</a>'; 19 echo '<a href="file.php">link</a>'; 22 <a href="file.php?var=value">link</a><a href="file.php">link</a>
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller3.phar | 2 function s($a) 4 static $b = array(b"/hi" => "a.phps"); 5 if (isset($b[$a])) return $b[$a]; 6 return $a; 12 va.php��kJ��жa.jpg��kJ��жa.phps�…
|
/PHP-5.5/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-5.5/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-5.5/ext/standard/tests/assert/ |
H A D | assert03.phpt | 11 function a($file,$line,$myev) 13 echo "assertion failed - a - $line,\"$myev\"\n"; 25 $a = 0; 27 assert_options(ASSERT_CALLBACK,"a"); 28 assert('$a != 0'); 32 assert('$a != 0'); 37 assertion failed - a - %d,"$a != 0" 38 assertion failed - b - %d,"$a != 0"
|
/PHP-5.5/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-5.5/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 'aa' => 'a', 158 'aaa' => 'a', 159 'a' => '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 'aa' => 'a', 158 'aaa' => 'a', 159 'a' => 'a', 207 3 => ' a', [all …]
|
/PHP-5.5/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-5.5/ext/ereg/tests/ |
H A D | regular_expressions.inc | 4 * POSIX regular expressions each coupled with a string that they match, 9 array('..(a|b|c)(a|b|c)..', '--- ab ---'), 13 array('(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)', '--- aaa bbb ccc ddd ---'), 15 array('\\a', 'a'), 16 array('[0-9][^0-9]', '2a'), 21 array('[[:print:]]{3}', " a "),
|