/PHP-5.3/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.3/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.3/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
|
H A D | array_intersect_1.phpt | 19 function comp_func($a, $b) { 20 if ($a === $b) return 0; 21 return ($a > $b)? 1:-1; 35 echo '$a='.var_export($a,TRUE).";\n"; 43 echo '$a='.var_export($a,TRUE).";\n"; 51 echo '$a='.var_export($a,TRUE).";\n"; 59 echo '$a='.var_export($a,TRUE).";\n"; 67 $a=array ( 147 $a=array ( 220 $a=array ( [all …]
|
/PHP-5.3/ext/session/tests/ |
H A D | bug26862.phpt | 15 echo '<a href="file.php">link</a>'; 20 echo '<a href="file.php">link</a>'; 23 <a href="file.php?var=value">link</a><a href="file.php">link</a>
|
/PHP-5.3/Zend/tests/ |
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
|
H A D | gc_014.phpt | 7 $a = new stdClass(); 9 $b =& $a; 10 $a->{"a".$i} = $a; 13 $a->b = "xxx"; 14 unset($a);
|
/PHP-5.3/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.3/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.3/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"
|
H A D | ReflectionClass_implementsInterface_001.phpt | 70 - Using object argument: Interface A is a Class 71 - Using string argument: Interface A is a Class 73 - Using object argument: Interface B is a Class 74 - Using string argument: Interface B is a Class 76 - Using object argument: Interface C is a Class 77 - Using string argument: Interface C is a Class 85 - Using object argument: Interface A is a Class 86 - Using string argument: Interface A is a Class 88 - Using object argument: Interface B is a Class 153 Parameter one must either be a string or a ReflectionClass object [all …]
|
H A D | ReflectionObject_isInstance_basic.phpt | 18 echo "is $name a $class? "; 25 is myA a A? bool(true) 26 is myB a A? bool(true) 27 is myX a A? bool(false) 28 is myA a B? bool(false) 29 is myB a B? bool(true) 30 is myX a B? bool(false) 31 is myA a X? bool(false) 32 is myB a X? bool(false) 33 is myX a X? bool(true)
|
/PHP-5.3/ext/intl/tests/ |
H A D | collator_asort.phpt | 62 array( 'a' => 'a' , 66 array( 'a' => 'a' , 67 'aaa'=> 'a' , 126 'a' => 'k' ) 141 'a' => 'k', 148 'a' => 'a', 156 'aa' => 'a', 157 'aaa' => 'a', 158 'a' => 'a', 206 3 => ' a', [all …]
|
/PHP-5.3/tests/lang/ |
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 …]
|
H A D | bug24403.phpt | 5 class a 7 public $a = array(); 9 function a() 12 '!\{\s*([a-z0-9_]+)\s*\}!sie', 13 "(in_array('\\1',\$this->a) ? '\'.\$p[\'\\1\'].\'' : 15 "{a} b {c}"); 18 new a();
|
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-5.3/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 "),
|
/PHP-5.3/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.3/ext/pdo_oci/tests/ |
H A D | pdo_oci_quote1.phpt | 22 $a = array(null, "", "a", "ab", "abc", "ab'cd", "a\b\n", "'", "''", "a'", "'z", "a''b", '"'); 23 foreach ($a as $u) { 61 Unquoted : string(1) "a" 62 Quoted : string(3) "'a'" 67 string(1) "a" 97 Unquoted : string(4) "a\b 99 Quoted : string(6) "'a\b 105 string(4) "a\b 127 Unquoted : string(2) "a'" 133 string(2) "a'" [all …]
|
/PHP-5.3/ext/phar/tests/files/ |
H A D | frontcontroller3.phar | 2 function s($a) 4 static $b = array(b"/hi" => b"a.phps"); 5 if (isset($b[$a])) return $b[$a]; 6 return $a; 12 va.php�kJ��жa.jpg�kJ��жa.phps…
|
/PHP-5.3/ext/phar/tests/zip/ |
H A D | rmdir.phpt | 18 $phar->addEmptyDir('a'); 19 $phar['a/x'] = 'a'; 24 echo file_get_contents($alias . '/a/x') . "\n"; 25 var_dump(rmdir($alias . '/a')); 26 echo file_get_contents($alias . '/a/x') . "\n"; 27 unlink($alias . '/a/x'); 28 var_dump(rmdir($alias . '/a')); 33 a 37 a
|