/PHP-5.5/ext/simplexml/tests/ |
H A D | bug69169.phpt | 10 <root a="b"> 11 <row b="y"> 18 $b = str_replace(array("\n", "\r", "\t"), "", $a); 19 $simple_xml = simplexml_load_string($b); 27 [a] => b 36 [b] => y
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | vsprintf_basic4.phpt | 14 $format1 = "%b"; 15 $format2 = "%b %b"; 16 $format3 = "%b %b %b";
|
H A D | convert_uuencode_basic.phpt | 17 b"123", 18 b"abc", 19 b"1a2b3c", 20 b"Here is a simple string to test convert_uuencode/decode", 21 b"\t This String contains \t\t some control characters\r\n", 22 b"\x90\x91\x00\x93\x94\x90\x91\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f", 25 b'123', 26 b'abc', 27 b'1a2b3c', 28 b'\t This String contains \t\t some control characters\r\n',
|
H A D | chunk_split.phpt | 11 $b=1; 13 var_dump(chunk_split($a,$b,$c)); 16 $b=1; 18 var_dump(chunk_split($a,$b,$c)); 23 a-b-c-
|
/PHP-5.5/Zend/tests/ |
H A D | bug48533.phpt | 10 public function b() { 16 static function __callstatic($a, $b) { 19 public function __call($a, $b) { 26 $x->b(); 29 $x::b(); 39 Strict Standards: Non-static method foo::b() should not be called statically in %s on line %d
|
H A D | dereference_001.phpt | 12 function b() { 15 var_dump(b()[0]); // Notice: Undefined offset: 0 34 var_dump(d()[0][0][0][3]); // string(1) "b" 38 $x = array('a' => 'foo', 'b' => $y); 41 var_dump(e()['b']); // string(3) "bar" 50 string(1) "b"
|
/PHP-5.5/tests/lang/ |
H A D | foreachLoop.004.phpt | 6 $a=array("a", "b", "c"); 15 $a=array("a", "b", "c"); 30 string(1) "b" 40 string(1) "b" 57 string(1) "b" 68 string(1) "b"
|
H A D | returnByReference.003.phpt | 18 unset($a, $b); 20 $b = &returnConstantByValue(); 22 var_dump($a, $b); 25 unset($a, $b); 27 $b = &returnConstantByRef(); 29 var_dump($a, $b); 32 unset($a, $b); 34 $b = &returnVariableByRef(); 36 var_dump($a, $b);
|
H A D | returnByReference.004.phpt | 20 unset($a, $b); 22 $b = &C::returnConstantByValue(); 24 var_dump($a, $b); 27 unset($a, $b); 29 $b = &C::returnConstantByRef(); 31 var_dump($a, $b); 34 unset($a, $b); 36 $b = &C::returnVariableByRef(); 38 var_dump($a, $b);
|
H A D | returnByReference.005.phpt | 21 unset($a, $b); 23 $b = &$c->returnConstantByValue(); 25 var_dump($a, $b); 28 unset($a, $b); 30 $b = &$c->returnConstantByRef(); 32 var_dump($a, $b); 35 unset($a, $b); 37 $b = &$c->returnVariableByRef(); 39 var_dump($a, $b);
|
/PHP-5.5/ext/spl/tests/ |
H A D | spl_heap_iteration_error.phpt | 34 [%u|b%"fail"]=> 36 [%u|b%"flags":%u|b%"SplHeap":private]=> 38 [%u|b%"isCorrupted":%u|b%"SplHeap":private]=> 40 [%u|b%"heap":%u|b%"SplHeap":private]=>
|
H A D | spl_003.phpt | 6 class b extends a{} 7 class c extends b{} 11 class_parents(new b), 12 class_parents("b"), 40 ["b"]=> 41 string(1) "b" 46 ["b"]=> 47 string(1) "b"
|
H A D | SplObjectStorage_removeAllExcept_basic.phpt | 9 $b = (object) 'b'; 14 $foo->attach($b); 17 $bar->attach($b); 22 var_dump($foo->contains($b));
|
/PHP-5.5/ext/sqlite3/tests/ |
H A D | sqlite3_25_create_aggregate.phpt | 25 var_dump($db->exec('CREATE TABLE test (a INTEGER, b INTEGER)')); 28 var_dump($db->exec("INSERT INTO test (a, b) VALUES (1, -1)")); 29 var_dump($db->exec("INSERT INTO test (a, b) VALUES (2, -2)")); 30 var_dump($db->exec("INSERT INTO test (a, b) VALUES (3, -3)")); 31 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)")); 32 var_dump($db->exec("INSERT INTO test (a, b) VALUES (4, -4)")); 36 print_r($db->querySingle("SELECT S(a), S(b) FROM test", true)); 54 [S(b)] => -1,-3,-6,-10,-14
|
/PHP-5.5/ext/phar/tests/ |
H A D | opendir_edgecases.phpt | 23 while (false !== ($b = readdir($a))) { 24 $arr[] = $b; 27 foreach ($arr as $b) { 28 echo "$b\n"; 37 while (false !== ($b = readdir($a))) { 38 $res[] = $b; 41 foreach ($res as $b) { 42 echo "$b\n";
|
H A D | 029.phpt | 17 $files['a.php'] = '<?php echo "This is a\n"; include "'.$pname.'/b.php"; ?>'; 18 $files['b.php'] = '<?php echo "This is b\n"; include "'.$pname.'/b/c.php"; ?>'; 19 $files['b/c.php'] = '<?php echo "This is b/c\n"; include "'.$pname.'/b/d.php"; ?>'; 20 $files['b/d.php'] = '<?php echo "This is b/d\n"; include "'.$pname.'/e.php"; ?>';
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | compact_basic.phpt | 18 $b=0.2; 25 var_dump (compact(array("a", "b", "c", "d", "e", "f"))); 27 var_dump (compact("a", "b", "c", "d", "e", "f")); 28 var_dump (compact(array("keyval"=>"a", "b"=>"b", "c"=>1))); 42 ["b"]=> 59 ["b"]=> 76 ["b"]=>
|
H A D | array_unique_variation2.phpt | 139 [%b|u%"h1"]=> 142 [%b|u%"h2"]=> 147 [%b|u%"h3"]=> 163 [%b|u%"one"]=> 165 [%b|u%"two"]=> 179 [%b|u%"one"]=> 181 [%b|u%"two"]=> 186 [%b|u%"one"]=> 195 [%b|u%""]=> 213 [%b|u%""]=> [all …]
|
H A D | bug43495.phpt | 8 $b=array("key1"=>array("key2"=>array())); 9 $b["key1"]["key2"]["key3"]=&$b; 11 array_merge_recursive($a,$b); 15 $b["key1"]["key2"]["key3"] = null;
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | open_for_write_existing_c_5_2.phpt | 21 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 22 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 31 $fp = fopen($alias . '/b/c.php', 'wb'); 32 fwrite($fp, b'extra'); 35 include $alias . '/b/c.php'; 44 Warning: fopen(phar://%sopen_for_write_existing_c_5_2.phar.tar/b/c.php): failed to open stream: pha… 49 This is b/c
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | open_for_write_existing_c.phpt | 23 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 24 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 33 $fp = fopen($alias . '/b/c.php', 'wb'); 34 fwrite($fp, b'extra'); 36 include $alias . '/b/c.php'; 43 Warning: fopen(phar://%sopen_for_write_existing_c.phar.zip/b/c.php): failed to open stream: phar er… 48 This is b/c
|
/PHP-5.5/ext/mcrypt/tests/ |
H A D | mcrypt_ecb_3des_encrypt.phpt | 23 $data = b"This is the secret message which must be encrypted"; 28 b'12345678', 29 b'12345678901234567890', 30 b'123456789012345678901234', 31 b'12345678901234567890123456' 35 b'1234', 36 b'12345678', 37 b'123456789' 40 $iv = b'12345678'; 47 $key = b'1234567890123456';
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_fetch_field_direct_oo.phpt | 60 [%u|b%"name"]=> 62 [%u|b%"orgname"]=> 64 [%u|b%"table"]=> 66 [%u|b%"orgtable"]=> 68 [%u|b%"def"]=> 70 [%u|b%"db"]=> 72 [%u|b%"catalog"]=> 76 [%u|b%"length"]=> 80 [%u|b%"flags"]=> 82 [%u|b%"type"]=> [all …]
|
/PHP-5.5/main/ |
H A D | mergesort.c | 149 b = f1, t = l1; in php_mergesort() 153 b = f2, t = l2; in php_mergesort() 157 while ((b += size) < t && cmp(q, b TSRMLS_CC) >sense) in php_mergesort() 169 b = p; in php_mergesort() 177 b = p; in php_mergesort() 178 while (t > b+size) { in php_mergesort() 183 b = p; in php_mergesort() 191 b = p; in php_mergesort() 192 COPY: b = t; in php_mergesort() 240 #define swap(a, b) { \ argument [all …]
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | frontcontroller3.phar | 4 static $b = array(b"/hi" => b"a.phps"); 5 if (isset($b[$a])) return $b[$a];
|