/PHP-5.5/ext/ereg/tests/ |
H A D | ereg_basic_002.phpt | 12 * Test a number of simple, valid matches with ereg, without specifying $regs 29 --> Pattern: '..(a|b|c)(a|b|c)..'; string: '--- ab ---' 45 --> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; string: '--- aaa bbb ccc ddd ---' 53 --> Pattern: '\a'; string: 'a' 57 --> Pattern: '[0-9][^0-9]'; string: '2a' 78 --> Pattern: '[[:print:]]{3}'; string: ' a '
|
H A D | eregi_basic_002.phpt | 12 * Test a number of simple, valid matches with eregi, without specifying $regs 29 --> Pattern: '..(a|b|c)(a|b|c)..'; string: '--- ab ---' 45 --> Pattern: '(a{1})(a{1,}) (b{1,3}) (c+) (d?ddd|e)'; string: '--- aaa bbb ccc ddd ---' 53 --> Pattern: '\a'; string: 'a' 57 --> Pattern: '[0-9][^0-9]'; string: '2a' 78 --> Pattern: '[[:print:]]{3}'; string: ' a '
|
/PHP-5.5/ext/mbstring/tests/ |
H A D | mb_substr_variation6.phpt | 11 * Description: Returns part of a string 16 * Test how mb_substr() behaves when passed a range of integers as $start argument 32 if (@$a || @$b) { 33 $a = null; 38 $a = mb_substr($string_ascii, $i, 4); 39 if ($a !== false) { 40 var_dump(bin2hex($a)); 43 var_dump($a); 47 if (strlen($a) == mb_strlen($b, 'UTF-8')) { // should return same length
|
H A D | mb_ereg-compat-02.phpt | 11 $a="This is a nice and simple string"; 12 echo mb_ereg(".*(is).*(is).*",$a,$registers); 23 This is a nice and simple string
|
/PHP-5.5/tests/lang/ |
H A D | foreachLoop.009.phpt | 6 // "Unless the array is referenced, foreach operates on a copy of the specified array." 8 echo "\nRemove elements from a referenced array during loop\n"; 16 echo "\nRemove elements from a referenced array during loop, using &\$value\n"; 24 echo "\nAdd elements to a referenced array during loop\n"; 38 echo "\nAdd elements to a referenced array during loop, using &\$value\n"; 55 Remove elements from a referenced array during loop 59 Remove elements from a referenced array during loop, using &$value 63 Add elements to a referenced array during loop 73 Add elements to a referenced array during loop, using &$value
|
/PHP-5.5/ext/spl/tests/ |
H A D | arrayObject_magicMethods1.phpt | 6 public $a = 1; 35 $ao['a'] = 'changed'; 44 var_dump($ao['a']); 53 var_dump(isset($ao['a'])); 62 unset($ao['a']); 74 ["a"]=> 89 ["a"]=> 110 ["a"]=> 125 ["a"]=> 144 ["a"]=> [all …]
|
H A D | bug40442.phpt | 5 $a = new ArrayObject(); 6 $a->offsetSet('property', 0); 7 var_dump($a->offsetExists('property'));
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | crypt_blowfish.phpt | 13 array('$2a$05$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW', 'U*U'), 14 array('$2a$05$CCCCCCCCCCCCCCCCCCCCC.VGOzA784oUp/Z0DY336zx7pLYAy0lwK', 'U*U*'), 15 array('$2a$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a', 'U*U*U'), 20 array('$2a$05$/OK.fbVrR/bpIqNJ5ianF.nqd1wy.pTMdcvrRWxyiGL2eMz.2a85.', "\xff\xff\xa3"), 23 array('$2a$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq', "\xa3"), 29 …array('$2a$05$/OK.fbVrR/bpIqNJ5ianF.ZC1JEJ8Z4gPfpe1JOr/oyPXTWl9EFd.', "\xff\xa334\xff\xff\xff\xa33… 31 array('$2a$05$/OK.fbVrR/bpIqNJ5ianF.nRht2l/HRhr6zmCp9vYUvvsqynflf9e', "\xff\xa3345"), 32 array('$2a$05$/OK.fbVrR/bpIqNJ5ianF.6IflQkJytoRVc1yuaNtHfiuq.FRlSIS', "\xa3ab"), 40 array('$2a$05$CCCCCCCCCCCCCCCCCCCCC.7uG0VCzI2bS7j6ymqJi9CdcdxiRTWNy', ''), 44 array('$2a$03$CCCCCCCCCCCCCCCCCCCCC.', '*0'), [all …]
|
/PHP-5.5/ext/standard/tests/url/ |
H A D | parse_url_basic_008.phpt | 6 * Description: Parse a URL and return its components 12 * Parse a load of URLs without specifying PHP_URL_QUERY as the URL component 49 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : NULL 51 --> http://www.php.net:80/this/../a/../deep/directory : NULL 52 --> http://www.php.net:80/this/../a/../deep/directory/ : NULL 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : NULL 80 --> /foo.php?a=b&c=d : string(7) "a=b&c=d" 81 --> foo.php?a=b&c=d : string(7) "a=b&c=d" 86 --> http://1.2.3.4:/abc.asp?a=1&b=2 : string(7) "a=1&b=2" 103 --> file:///a:/ : NULL [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug52060.phpt | 2 Bug #52060 (Memory leak when passing a closure to method_exists()) 6 $closure = function($a) { echo $a; };
|
H A D | closure_030.phpt | 7 $a = 'b'; 8 var_dump($$a(1)); 9 var_dump($$a->__invoke(2));
|
H A D | catch_finally_003.phpt | 9 function foo ($a) { 12 return $a; 22 function &bar($a) { 28 return $a;
|
H A D | nowdoc_005.phpt | 9 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 14 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 22 This is nowdoc test #s $a, $b, $c['c'], and $d->d. 23 This is nowdoc test #s $a, $b, $c['c'], and $d->d.
|
H A D | nowdoc_006.phpt | 9 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s {$a}, {$b}, {$c['c']}, and {$d->d}.
|
H A D | nowdoc_007.phpt | 9 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 14 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 22 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}. 23 This is nowdoc test #s $a, {$b}, {$c['c']}, and {$d->d}.
|
H A D | bug30407.phpt | 6 function haricow($a = 'one') { 7 var_dump($a); 8 $a = 'two';
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | 004.phpt | 9 $a = array(4); 10 $str = serialize($a); 23 Serialized array: a:1:{i:0;i:4;} 29 Serialized array: a:1:{i:0;d:4.5;}
|
H A D | bug21957.phpt | 7 public $a, $b; 11 $this->a = 7; 37 ["a"]=> 43 a:2:{s:3:"one";s:3:"ABC";s:3:"two";N;}
|
/PHP-5.5/ext/standard/tests/array/ |
H A D | array_slice_variation1.phpt | 17 $a = 'foo'; 18 var_dump(array_slice(range(1, 3), 0, $a)); 19 var_dump(array_slice(range(1, 3), 0, $a)); 20 var_dump($a);
|
H A D | bug31213.phpt | 6 $a = 1; 10 '_a' => $a, 14 var_dump($a, $b); 26 var_dump($a, $b, $_a, $_b, $arr);
|
H A D | array_uintersect_basic.phpt | 14 static function comp_func_cr($a, $b) { 15 if ($a->priv_member === $b->priv_member) return 0; 16 return ($a->priv_member > $b->priv_member) ? 1 : -1; 19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 21 $result = array_uintersect($a, $b, array("cr", "comp_func_cr"));
|
H A D | array_udiff_assoc_basic.phpt | 14 static function comp_func_cr($a, $b) { 15 if ($a->priv_member === $b->priv_member) return 0; 16 return ($a->priv_member > $b->priv_member) ? 1 : -1; 19 $a = array("0.1" => new cr(9), "0.5" => new cr(12), 0 => new cr(23), 1 => new cr(4), 2 => new cr(-1… 21 $result = array_udiff_assoc($a, $b, array("cr", "comp_func_cr"));
|
/PHP-5.5/Zend/tests/generators/ |
H A D | generator_with_nonscalar_keys.phpt | 8 yield (object) ['a' => 'b'] => (object) ['b' => 'a']; 38 ["a"]=> 43 string(1) "a"
|
/PHP-5.5/ext/sqlite3/tests/ |
H A D | sqlite3_14_querysingle.phpt | 15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')")); 19 var_dump($db->querySingle("SELECT id FROM test WHERE id = 'a'")); 20 var_dump($db->querySingle("SELECT id, time FROM test WHERE id = 'a'", true)); 31 string(1) "a" 34 string(1) "a"
|
/PHP-5.5/ext/date/tests/ |
H A D | bug41964.phpt | 2 Bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+') 21 $res = date_parse('a '); 25 $res = date_parse('a'); 33 $res = date_parse('a nothing');
|