Home
last modified time | relevance | path

Searched refs:a (Results 326 – 350 of 6183) sorted by relevance

1...<<11121314151617181920>>...248

/PHP-5.5/ext/phar/tests/
H A Dphar_buildfromiterator6.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
59 Iterator myIterator returned an invalid key (must return a string)
H A Dpharfileinfo_construct.phpt14 $a = new PharFileInfo($pname . '/oops');
20 $a = new PharFileInfo(array());
22 $a = new Phar($fname);
23 $a['a'] = 'hi';
24 $b = $a['a'];
27 $a = new PharFileInfo($pname . '/oops/I/do/not/exist');
39 $a = new PharFileInfo(__FILE__);
50 Warning: PharFileInfo::__construct() expects parameter 1 to be a valid path, array given in %spharf…
53 '%spharfileinfo_construct.php' is not a valid phar archive URL (must have at least phar://filename.…
H A Dphar_buildfromiterator4.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
43 'a' => basename(__FILE__, 'php') . 'phpt',
80 ["a"]=>
/PHP-5.5/ext/phar/tests/tar/
H A Dphar_buildfromiterator6.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
59 Iterator myIterator returned an invalid key (must return a string)
H A Drename.phpt21 $files['a'] = 'a';
31 echo file_get_contents($alias . '/a') . "\n";
32 rename($alias . '/a', $alias . '/b');
34 echo file_get_contents($alias . '/a') . "\n";
39 a
40 a
42 …arning: file_get_contents(phar://%srename.phar.tar/a): failed to open stream: phar error: "a" is n…
H A Drename_dir.phpt21 $files['a/x'] = 'a';
31 echo file_get_contents($alias . '/a/x') . "\n";
32 rename($alias . '/a', $alias . '/b');
34 echo file_get_contents($alias . '/a/x') . "\n";
39 a
40 a
42 …: file_get_contents(phar://%srename_dir.phar.tar/a/x): failed to open stream: phar error: "a/x" is…
/PHP-5.5/ext/phar/tests/zip/
H A Dphar_buildfromiterator6.phpt12 var $a;
13 function __construct(array $a)
15 $this->a = $a;
19 return next($this->a);
23 return current($this->a);
27 return key($this->a);
31 return current($this->a);
35 return reset($this->a);
59 Iterator myIterator returned an invalid key (must return a string)
/PHP-5.5/ext/standard/tests/file/
H A Dchmod_variation2-win32.phpt24 echo "chmod() on a path containing .. and .\n";
30 echo "\nchmod() on a path containing .. with invalid directories\n";
36 echo "\nchmod() on a relative path from a different working directory\n";
44 echo "\nchmod() on a directory with a trailing /\n";
56 chmod() on a path containing .. and .
61 chmod() on a path containing .. with invalid directories
66 chmod() on a relative path from a different working directory
71 chmod() on a directory with a trailing /
H A Dftruncate_variation4-win32.phpt13 Description: Truncates a file to a given length
25 "a", "ab", "at", "a+", "a+b", "a+t");
77 -- Testing ftruncate(): try truncating file to a negative size --
220 -- Testing ftruncate() with file opening using a mode --
244 -- Testing ftruncate() with file opening using a+ mode --
252 -- Testing ftruncate() with file opening using a+b mode --
260 -- Testing ftruncate() with file opening using a+t mode --
414 -- Testing ftruncate() with file opening using a mode --
438 -- Testing ftruncate() with file opening using a+ mode --
446 -- Testing ftruncate() with file opening using a+b mode --
[all …]
H A Dftruncate_variation4.phpt13 Description: Truncates a file to a given length
25 "a", "ab", "at", "a+", "a+b", "a+t");
77 -- Testing ftruncate(): try truncating file to a negative size --
220 -- Testing ftruncate() with file opening using a mode --
244 -- Testing ftruncate() with file opening using a+ mode --
252 -- Testing ftruncate() with file opening using a+b mode --
260 -- Testing ftruncate() with file opening using a+t mode --
414 -- Testing ftruncate() with file opening using a mode --
438 -- Testing ftruncate() with file opening using a+ mode --
446 -- Testing ftruncate() with file opening using a+b mode --
[all …]
H A Dfgetcsv_variation24.phpt11 Testing fgetcsv() to read from a file opened in various write modes and
55 // write another line of text and a blank line
57 // working when only a blank line is read
98 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
100 Notice: fgetcsv(): enclosure must be a single character in %s on line %d
110 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
112 Notice: fgetcsv(): enclosure must be a single character in %s on line %d
122 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
124 Notice: fgetcsv(): enclosure must be a single character in %s on line %d
134 Notice: fgetcsv(): delimiter must be a single character in %s on line %d
[all …]
/PHP-5.5/ext/pcre/tests/
H A Dpreg_replace_basic.phpt9 $string = '123456789 - Hello, world - This is a string.';
11 …(preg_replace('<- This is a string$>', 'This shouldn\'t work', $string)); //tries to find '- This …
12 …<[0-35-9]>', '4', $string)); //finds any number that's not 4 and replaces it with a 4 ('444444444')
13 var_dump(preg_replace('<\b[hH]\w{2,4}>', 'Bonjour', $string)); //finds h or H at the beginning of a
14 … with an indefinite amount of whitespace around them and replaces them with a full stop precedeby …
15 var_dump(preg_replace('<(^[a-z]\w+)@(\w+)\.(\w+)\.([a-z]{2,}$)>', '\\1 at \\2 dot \\3 dot \\4', 'jo…
20 string(54) "123456789 - Hello, world - This is a string."
21 string(54) "123456789 - Hello, world - This is a string."
22 string(54) "444444444 - Hello, world - This is a string."
23 string(56) "123456789 - Bonjour, world - This is a string."
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Darray_walk_recursive_variation2.phpt6 * Description: Apply a user function to every member of an array
95 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
98 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
102 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
105 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
109 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
112 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
116 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
119 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, no array or string give…
179 …ing: array_walk_recursive() expects parameter 2 to be a valid callback, first array member is not
[all …]
H A Darray_walk_variation2.phpt6 * Description: Apply a user function to every member of an array
95 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
98 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
102 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
105 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
109 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
112 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
116 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
119 Warning: array_walk() expects parameter 2 to be a valid callback, no array or string given in %s on…
179 Warning: array_walk() expects parameter 2 to be a valid callback, first array member is not a valid…
[all …]
/PHP-5.5/ext/standard/tests/serialize/
H A Dserialization_objects_002.phpt32 $this->a = 10;
58 new D( "a", 'a', "string", 'string' ),
92 ["a"]=>
142 ["a"]=>
161 ["a"]=>
180 ["a"]=>
199 ["a"]=>
200 string(1) "a"
218 ["a"]=>
272 ["a"]=>
[all …]
/PHP-5.5/Zend/tests/
H A Dbug47109.phpt2 Bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object)
5 $a->{"a"."b"};
8 Notice: Undefined variable: a in %sbug47109.php on line 2
H A Dobjects_019.phpt10 $foo[1]->a = &$foo[0]->a;
11 $foo[0]->a = 2;
13 $x = $foo[1]->a;
23 ["a"]=>
28 ["a"]=>
H A D024.phpt6 var_dump($a[1]);
7 var_dump($a[$c]);
8 var_dump($a + 1);
9 var_dump($a + $b);
10 var_dump($a++);
12 var_dump($a->$b);
13 var_dump($a->$b);
14 var_dump($a->$b->$c[1]);
18 Notice: Undefined variable: a in %s on line %d
26 Notice: Undefined variable: a in %s on line %d
[all …]
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_array_oo.phpt215 func_mysqli_fetch_array($mysqli, $engine, "CHAR(1)", "a", "a", 540);
221 func_mysqli_fetch_array($mysqli, $engine, "VARCHAR(1)", "a", "a", 580);
227 func_mysqli_fetch_array($mysqli, $engine, "BINARY(1)", "a", "a", 630);
237 func_mysqli_fetch_array($mysqli, $engine, "TINYBLOB", "a", "a", 710);
242 func_mysqli_fetch_array($mysqli, $engine, "TINYTEXT", "a", "a", 750);
246 func_mysqli_fetch_array($mysqli, $engine, "BLOB", "a", "a", 780);
250 func_mysqli_fetch_array($mysqli, $engine, "TEXT", "a", "a", 800);
262 func_mysqli_fetch_array($mysqli, $engine, "LONGBLOB", "a", "a", 890);
266 func_mysqli_fetch_array($mysqli, $engine, "ENUM('a', 'b')", "a", "a", 920);
269 func_mysqli_fetch_array($mysqli, $engine, "SET('a', 'b')", "a", "a", 940);
[all …]
H A Dmysqli_fetch_all.phpt240 func_mysqli_fetch_all($link, $engine, "CHAR(1)", "a", "a", 540);
246 func_mysqli_fetch_all($link, $engine, "VARCHAR(1)", "a", "a", 580);
252 func_mysqli_fetch_all($link, $engine, "BINARY(1)", "a", "a", 630);
262 func_mysqli_fetch_all($link, $engine, "TINYBLOB", "a", "a", 710);
267 func_mysqli_fetch_all($link, $engine, "TINYTEXT", "a", "a", 750);
271 func_mysqli_fetch_all($link, $engine, "BLOB", "a", "a", 780);
275 func_mysqli_fetch_all($link, $engine, "TEXT", "a", "a", 800);
287 func_mysqli_fetch_all($link, $engine, "LONGBLOB", "a", "a", 890);
291 func_mysqli_fetch_all($link, $engine, "ENUM('a', 'b')", "a", "a", 920);
294 func_mysqli_fetch_all($link, $engine, "SET('a', 'b')", "a", "a", 940);
[all …]
H A Dmysqli_fetch_all_oo.phpt242 func_mysqli_fetch_all_oo($link, $engine, "CHAR(1)", "a", "a", 540);
248 func_mysqli_fetch_all_oo($link, $engine, "VARCHAR(1)", "a", "a", 580);
254 func_mysqli_fetch_all_oo($link, $engine, "BINARY(1)", "a", "a", 630);
264 func_mysqli_fetch_all_oo($link, $engine, "TINYBLOB", "a", "a", 710);
269 func_mysqli_fetch_all_oo($link, $engine, "TINYTEXT", "a", "a", 750);
273 func_mysqli_fetch_all_oo($link, $engine, "BLOB", "a", "a", 780);
277 func_mysqli_fetch_all_oo($link, $engine, "TEXT", "a", "a", 800);
289 func_mysqli_fetch_all_oo($link, $engine, "LONGBLOB", "a", "a", 890);
293 func_mysqli_fetch_all_oo($link, $engine, "ENUM('a', 'b')", "a", "a", 920);
296 func_mysqli_fetch_all_oo($link, $engine, "SET('a', 'b')", "a", "a", 940);
[all …]
/PHP-5.5/ext/mbstring/tests/
H A Dmb_ereg2.phpt8 $a = -1; $b = -1; $c = -1;
9 mbereg($a, $b, $c);
10 var_dump($a, $b, $c);
12 mberegi($a, $b, $c);
13 var_dump($a, $b, $c);
15 mbereg_search_init($a, $b, $c);
16 var_dump($a, $b, $c);
/PHP-5.5/tests/basic/
H A D024.phpt7 a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3
14 ["a"]=>
24 ["a"]=>
28 string(30) "a=ABC&y=XYZ&c[]=1&c[]=2&c[a]=3"
/PHP-5.5/ext/json/
H A DREADME8 is handled by a parser based on JSON_checker[1] by Douglas Crockford.
16 json_encode returns a string containing the JSON representation of value.
17 value can be any type except a resource.
21 json_decode takes a JSON string and converts it into a PHP variable.
29 $arr = array("a"=>1,"b"=>2,"c"=>3,"d"=>4,"e"=>5);
32 ---> {"a":1,"b":2,"c":3,"d":4,"e":5}
34 $json = '{"a":1,"b":2,"c":3,"d":4,"e":5}';
38 ["a"]=>
50 $json = '{"a":1,"b":2,"c":3,"d":4,"e":5}';
54 ["a"]=>
/PHP-5.5/tests/classes/
H A Darray_access_003.phpt9 public $a = array('1st', 1, 2=>'3rd', '4th'=>4);
13 return array_key_exists($index, $this->a);
19 $a = 'foo';
20 return $a . 'Bar';
22 static $a=1;
23 return $a;
25 return $this->a[$index];
32 return $this->a[$index] = $newval;
36 unset($this->a[$index]);

Completed in 67 milliseconds

1...<<11121314151617181920>>...248