/PHP-5.5/ext/standard/tests/array/ |
H A D | array_slice_variation8.phpt | 12 * 1. a two-dimensional array as $input argument 13 * 2. a sub-array as $input argument 20 echo "\n-- Slice a two-dimensional array --\n"; 23 echo "\n-- \$input is a sub-array --\n"; 32 -- Slice a two-dimensional array -- 49 -- $input is a sub-array --
|
H A D | bug36975.phpt | 5 $a = array('aa', 'aa', 'bb', 'bb', 'cc', 'cc'); 6 $test = natcasesort($a); 10 $val = array_pop($a); 11 $a[] = $val; 12 var_dump($a);
|
H A D | array_key_exists_object1.phpt | 22 function __construct($a, $b, $c = null) { 23 $this->var1 = $a; 31 echo "\n-- Do not assign a value to \$class1->var3 --\n"; 32 $class1 = new myClass ('a', 'b'); 40 echo "\n-- Assign a value to \$class2->var3 --\n"; 53 -- Do not assign a value to $class1->var3 -- 61 %unicode|string%(1) "a" 68 -- Assign a value to $class2->var3 --
|
/PHP-5.5/ext/pcre/tests/ |
H A D | preg_grep_error1.phpt | 15 '/[a-zA-Z]', //Regex without closing delimiter 16 '[a-zA-Z]/', //Regex without opening delimiter 17 '/[a-zA-Z]/F', array('[a-z]', //Array of Regexes 18 '[A-Z]', '[0-9]'), '/[a-zA-Z]/', //Regex string 38 Arg value is /[a-zA-Z] 43 Arg value is [a-zA-Z]/ 48 Arg value is /[a-zA-Z]/F 58 Arg value is /[a-zA-Z]/
|
H A D | preg_filter.phpt | 6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4'); 7 $pattern = array('/\d/', '/[a-z]/', '/[1a]/'); 19 string(5) "B:C:a"
|
H A D | preg_match_all_basic.phpt | 9 $string = 'Hello, world! This is a test. This is another test. \[4]. 34534 string.'; 12 var_dump(preg_match_all('/[tT]his is a(.*?)\./', $string, $match2, PREG_SET_ORDER)); //finds "This … 16 var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a st… 18 var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is… 21 // Test not passing in a subpatterns array. 46 string(15) "This is a test."
|
/PHP-5.5/ext/phar/tests/zip/ |
H A D | delete_in_phar_confirm.phpt | 2 Phar: delete a file within a zip-based .phar (confirm disk file is changed) 15 $phar['a.php'] = '<?php echo "This is a\n"; ?>'; 29 include $alias . '/a.php'; 41 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.zip/a.php'; 50 This is a 54 This is a 57 …firm.phar.zip/b/c.php): failed to open stream: phar error: "b/c.php" is not a file in phar "%sdele…
|
/PHP-5.5/ext/phar/tests/ |
H A D | delete_in_phar_confirm.phpt | 2 Phar: delete a file within a .phar (confirm disk file is changed) 15 $files['a.php'] = '<?php echo "This is a\n"; ?>'; 29 include $pname . '/a.php'; 40 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.php/a.php'; 49 This is a 53 This is a 56 …firm.phar.php/b/c.php): failed to open stream: phar error: "b/c.php" is not a file in phar "%sdele…
|
H A D | phar_oo_007.phpt | 25 $f = $phar['a.php']; 49 $f = $phar['a.php']; 66 MyFile::__construct(phar://*/files/phar_oo_test.phar.php/a.php) 72 string(32) "<?php echo "This is a.php\n"; ?>" 76 string(12) "a.php\n"; ?>" 79 string(32) "<?php echo "This is a.php\n"; ?>" 82 MyFile::__construct(phar://*/files/phar_oo_test.phar.php/a.php) 85 string(32) "<?php echo "This is a.php\n"; ?>"
|
H A D | phar_oo_compressed_002.phpt | 16 $files['a'] = 'a'; 24 var_dump(file_get_contents($pname . '/a')); 25 var_dump($phar['a']->isCompressed()); 39 var_dump(file_get_contents($pname . '/a')); 40 var_dump($phar['a']->isCompressed()); 57 string(1) "a" 63 string(1) "a"
|
H A D | phar_oo_compressed_002b.phpt | 16 $files['a'] = 'a'; 24 var_dump(file_get_contents($pname . '/a')); 25 var_dump($phar['a']->isCompressed()); 39 var_dump(file_get_contents($pname . '/a')); 40 var_dump($phar['a']->isCompressed()); 57 string(1) "a" 63 string(1) "a"
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | delete_in_phar_confirm.phpt | 2 Phar: delete a file within a tar-based .phar (confirm disk file is changed) 15 $phar['a.php'] = '<?php echo "This is a\n"; ?>'; 29 include $alias . '/a.php'; 40 include 'phar://' . dirname(__FILE__) . '/' . basename(__FILE__, '.php') . '.phar.tar/a.php'; 49 This is a 53 This is a 56 …firm.phar.tar/b/c.php): failed to open stream: phar error: "b/c.php" is not a file in phar "%sdele…
|
H A D | badchecksum.phpt | 11 $a = new corrupt_tarmaker($fname, 'none'); 12 $a->init(); 13 $a->addFile('hithere', 'contents', null, 'checksum'); 14 $a->close(); 29 phar error: "%sbadchecksum.tar" is a corrupted tar file (checksum mismatch of file "hithere")
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strtok_variation7.phpt | 16 $str = "this is a sample string"; 21 // adding a string to the input string which is being tokenised 31 // adding a string to the input string which is being tokenised 49 -- Input str is "extra string this is a sample string" -- 52 string(1) "a" 54 -- Input str is "extra string this is a sample string" -- 59 -- Input str is "extra string this is a sample string" -- 64 -- Input str is "extra string this is a sample string" -- 69 -- Input str is "extra string this is a sample string" -- 74 -- Input str is "extra string this is a sample string" -- [all …]
|
H A D | http_build_query.phpt | 6 $array = array("foo"=>"bar","baz"=>1,"test"=>"a ' \" ", "abc"); 13 string(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc" 14 string(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc" 15 string(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | 001-win32.phpt | 28 echo "test.file is a symlink\n"; 30 echo "test.file is not a symlink\n"; 58 echo "test.file is a regular file\n"; 63 echo "../file is a directory\n"; 65 echo "../file is not a directory\n"; 68 echo "test.file is a directory\n"; 70 echo "test.file is not a directory\n"; 88 test.file is not a symlink 95 test.file is a regular file 96 ../file is a directory [all …]
|
/PHP-5.5/ext/standard/tests/url/ |
H A D | parse_url_basic_007.phpt | 6 * Description: Parse a URL and return its components 47 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(53) "/thi… 49 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/ : string(45) "/this/is/a/v… 50 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php : string(53) "/thi… 51 --> http://www.php.net:80/this/../a/../deep/directory : string(28) "/this/../a/../deep/directory" 52 --> http://www.php.net:80/this/../a/../deep/directory/ : string(29) "/this/../a/../deep/directory… 53 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php : string(42) "/this/is/a/very… 80 --> /foo.php?a=b&c=d : string(8) "/foo.php" 81 --> foo.php?a=b&c=d : string(7) "foo.php" 103 --> file:///a:/ : string(3) "a:/" [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug47981.phpt | 12 interface a{} 13 class b implements a { function f($a=1) {}} 17 string(60) "Declaration of c::f() should be compatible with b::f($a = 1)"
|
H A D | bug40261.phpt | 9 $a = Array(); 11 $a[$i] = Array(1); 15 $b[$i] = $a[$i][0]; 18 unset($a);
|
H A D | ns_039.phpt | 5 function foo($a = A) { 6 echo "$a\n"; 8 function bar($a = array(A => B)) { 9 foreach ($a as $key => $val) {
|
/PHP-5.5/ext/standard/tests/general_functions/ |
H A D | callbacks_002.phpt | 12 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Foo' not found in %s o… 14 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v… 16 Warning: call_user_func() expects parameter 1 to be a valid callback, second array member is not a …
|
/PHP-5.5/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 2198 within a pattern by a (?x) option setting. 3513 subpattern" is used for a fragment of a pattern that picks out a sub- 4955 a character that is not a number or a letter, it takes away any special 5753 a lone closing square bracket causes a compile-time error. If a closing 6132 If a condition test for a subpattern's having matched refers to a non- 6489 Outside a character class, a backslash followed by a digit greater than 6909 (?(?=[^a-z]*[a-z]) 7386 If a verb with a name is encountered in a positive assertion that is 7564 ^.*? (?(?=a) a | b(*THEN)c ) 8502 are a starting size and a maximum size, and it returns a pointer to an [all …]
|
/PHP-5.5/tests/basic/ |
H A D | 003.phpt | 4 a=Hello+World 10 echo "post-a=({$_POST['a']}) get-b=({$_GET['b']}) get-c=({$_GET['c']})"?> 12 post-a=(Hello World) get-b=(Hello Again World) get-c=(Hi Mom)
|
/PHP-5.5/ext/date/tests/ |
H A D | DateInterval_format_a.phpt | 2 DateInterval::format(), %a 20 echo $interval->format('a=%a') . "\n"; 24 a=428
|
/PHP-5.5/ext/soap/tests/ |
H A D | typemap004.phpt | 17 public $a="a"; 23 … xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><a xsi:type="xsd:string">'.$book->a.'!</a><… 35 $book->a = "foo"; 43 …p://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:book"><a xsi:type="xsd:string">foo!</a><b xs…
|