/PHP-5.5/Zend/tests/ |
H A D | closure_005.phpt | 40 $a = new A(3); 41 $incer = $a->getIncer(2); 42 $printer = $a->getPrinter(); 43 $error = $a->getError(); 45 $a->printX(); 48 $a->printX(); 51 unset($a);
|
H A D | isset_003_2_4.phpt | 8 $a = 'foo'; 9 $b =& $a; 13 var_dump(isset($a[0], $b[1])); 15 var_dump(isset($a[0]->a)); 17 var_dump(isset($c[0][1][2]->a->b->c->d)); 19 var_dump(isset(${$a}->{$b->$c[$d]}));
|
H A D | bug61011.phpt | 2 Bug #61011 (Crash when an exception is thrown by __autoload accessing a static property) 9 echo AAA::$a; //zend_fetch_var_address_helper 18 unset(AAA::$a); // ZEND_UNSET_VAR 21 isset(AAAA::$a); // ZEND_ISSET_ISEMPTY_VAR 24 $a = array("AAA", "foo"); 25 $a(); //ZEND_INIT_FCALL_BY_NAME
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_filter_variation2.phpt | 101 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 104 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 107 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 110 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 113 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 116 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 119 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 122 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 125 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s … 137 Warning: array_filter() expects parameter 2 to be a valid callback, first array member is not a val… [all …]
|
H A D | bug42838.phpt | 6 function key_compare_func($a, $b) 8 if ($a === $b) { 11 return ($a > $b)? 1:-1; 14 $array1 = array("a" => "green", "b" => "Brown", 'c' => 'blue', 0 => 'red'); 15 $array2 = array("a" => "green", "b" => "Brown", 'c' => 'blue', 0 => 'red');
|
H A D | 006.phpt | 8 $a = array("foo", "bar", "fubar"); 10 $c = array("a" => "foo", "b" => "bar", "c" => "fubar"); 13 echo array_pop($a), "\n"; 14 array_push($a, "foobar"); 15 var_dump($a); 45 ["a"]=>
|
H A D | array_diff_uassoc_variation3.phpt | 6 …Description: Computes the difference of arrays with additional index check which is performed by a 14 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red"); 15 $array2 = array("a" => "green", "yellow", "red"); 116 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… 121 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… 126 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… 131 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… 136 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… 141 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… 146 Warning: array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given i… [all …]
|
H A D | extract_variation6.phpt | 7 $a = array ('foo' => 'aaa'); 8 var_dump ( extract($a, EXTR_REFS)); 11 $b = $a; 13 var_dump ( extract($a, EXTR_REFS)); 15 var_dump($a);
|
/PHP-5.5/ext/date/tests/ |
H A D | bug52063.phpt | 2 Bug #52063 (DateTime constructor's second argument doesn't have a null default value) 6 $a = new DateTime("2009-01-01", null); 7 echo $a->format(DateTime::COOKIE); 9 $a = date_create("2009-01-01", null); 10 echo $a->format(DateTime::COOKIE);
|
/PHP-5.5/ext/json/tests/ |
H A D | bug46215.phpt | 13 protected $a = array(); 16 $a = new foo; 17 $x = json_encode($a); 19 print_r($a); 25 [a:protected] => Array
|
/PHP-5.5/tests/classes/ |
H A D | constants_error_007.phpt | 2 Basic class support - attempting to create a reference to a class constant 10 echo "\nAttempting to create a reference to a class constant - should be parse error.\n"; 11 $a = &aclass::myConst;
|
H A D | array_access_007.phpt | 38 $a = new OverloadedArray; 39 $a[] = 1; 40 $a[1] = 2; 41 $a[2] = 3; 42 $a[] = 4; 43 $a->dump();
|
/PHP-5.5/ext/intl/tests/ |
H A D | timezone_getOffset_error.phpt | 12 var_dump($tz->getOffset(INF, true, $a, $a)); 13 var_dump($tz->getOffset(time()*1000, true, $a)); 14 var_dump($tz->getOffset(time()*1000, true, $a, $a, $a)); 16 intltz_get_offset(null, time()*1000, false, $a, $a);
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | 033a.phpt | 15 $phar['a.php'] = '<?php echo "This is a\n"; include "'.$alias.'/b.php"; ?>'; 22 var_dump($phar['a.php']->isExecutable()); 23 $phar['a.php']->chmod(0777); 24 var_dump($phar['a.php']->isExecutable()); 25 $phar['a.php']->chmod(0666); 26 var_dump($phar['a.php']->isExecutable()); 44 Cannot modify permissions for file "a.php" in phar "%s033a.phar.tar", write operations are prohibit…
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | 033a.phpt | 15 $phar['a.php'] = '<?php echo "This is a\n"; include "'.$alias.'/b.php"; ?>'; 22 var_dump($phar['a.php']->isExecutable()); 23 $phar['a.php']->chmod(0777); 24 var_dump($phar['a.php']->isExecutable()); 25 $phar['a.php']->chmod(0666); 26 var_dump($phar['a.php']->isExecutable()); 44 Cannot modify permissions for file "a.php" in phar "%sa.phar.zip", write operations are prohibited
|
H A D | phar_oo_compressallgz.phpt | 14 $phar['a'] = 'a'; 18 var_dump(file_get_contents($pname . '/a')); 19 var_dump($phar['a']->isCompressed()); 26 var_dump(file_get_contents($pname . '/a')); 27 var_dump($phar['a']->isCompressed(Phar::BZ2)); 28 var_dump($phar['a']->isCompressed(Phar::GZ)); 43 string(1) "a" 49 string(1) "a"
|
/PHP-5.5/ext/pdo/tests/ |
H A D | bug_38394.phpt | 18 $db->exec("CREATE TABLE test (a INT, b INT, c INT)"); 19 $s = $db->prepare("INSERT INTO test (a,b,c) VALUES (:a,:b,:c)"); 21 $s->execute(array('a' => 1, 'b' => 2, 'c' => 3)); 23 @$s->execute(array('a' => 5, 'b' => 6, 'c' => 7, 'd' => 8)); 25 $s->execute(array('a' => 9, 'b' => 10, 'c' => 11)); 34 ["a"]=> 43 ["a"]=>
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | serialization_objects_006.phpt | 6 * Description: Returns a string representation of variable (which can later be unserialized) 11 * Description: Takes a string representation of variable and recreates it 16 $a = new __PHP_Incomplete_Class; 17 var_dump($a); 18 var_dump($a->p); 26 …a method or access a property of an incomplete object. Please ensure that the class definition "un…
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | sprintf_variation16.phpt | 66 string(10) "a-zA-Z0-9]" 81 string(10) "a-zA-Z0-9]" 96 string(10) "a-zA-Z0-9]" 111 string(10) "a-zA-Z0-9]" 126 string(10) "a-zA-Z0-9]" 141 string(10) "a-zA-Z0-9]" 156 string(10) "a-zA-Z0-9]" 171 string(10) "a-zA-Z0-9]" 186 string(10) "a-zA-Z0-9]" 201 string(10) "a-zA-Z0-9]" [all …]
|
H A D | trim_basic.phpt | 7 * Description: Strip whitespace (or other characters) from the beginning and end of a string. 13 $text = " \t\r\n\0\x0B ---These are a few words--- \t\r\n\0\x0B "; 20 echo "\n-- Trim non-whitespace from a string --\n"; 23 echo "\n-- Trim some non-white space characters from a string --\n"; 26 echo "\n-- Trim the ASCII control characters at the beginning of a string --\n"; 35 string(27) "---These are a few words---" 37 -- Trim non-whitespace from a string -- 40 -- Trim some non-white space characters from a string -- 43 -- Trim the ASCII control characters at the beginning of a string --
|
H A D | bug40915.phpt | 1 --TEST-- 2 Bug #40915 (addcslashes unexpected behavior with binary input) 3 --FILE-- 4 <?php 5 6 $str = (binary)"a\000z"; 7 8 var_dump(addslashes($str)); 9 var_dump(addcslashes($str, (binary)"")); 10 var_dump(addcslashes($str, (binary)"\000z")); [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | arrayObject_magicMethods2.phpt | 6 public $a = 1; 74 ["a"]=> 85 ["a"]=> 91 ["a"]=> 110 ["a"]=> 121 ["a"]=> 127 ["a"]=> 144 ["a"]=> 155 ["a"]=> 161 ["a"]=> [all …]
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | frontcontroller13.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller13.phar'); 4 $a['index.php'] = '<?php 7 $a['oof/test.php'] = '<?php 10 $a['oof/hi.php'] = '<?php 12 $a->setStub('<?php
|
/PHP-5.5/ext/dba/ |
H A D | install_cdb.sh | 37 ar x ../cdb.a 38 ar x ../byte.a 39 ar x ../unix.a 40 ar x ../byte.a 41 ar x ../buffer.a
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | frontcontroller13.phar.inc | 3 $a = new Phar(dirname(__FILE__) . '/frontcontroller13.phar'); 4 $a['index.php'] = '<?php 7 $a['oof/test.php'] = '<?php 10 $a['oof/hi.php'] = '<?php 12 $a->setStub('<?php
|