Home
last modified time | relevance | path

Searched refs:a (Results 351 – 375 of 6126) sorted by relevance

1...<<11121314151617181920>>...246

/PHP-5.4/ext/standard/tests/file/
H A Dfgetcsv_variation19.phpt32 "a+", "a+b", "a+t",
52 // write another line of text and a blank line
54 // working when only a blank line is read
152 -- Testing fgetcsv() with file opened using a+ mode --
162 -- Testing fgetcsv() with file opened using a+b mode --
172 -- Testing fgetcsv() with file opened using a+t mode --
302 -- Testing fgetcsv() with file opened using a+ mode --
312 -- Testing fgetcsv() with file opened using a+b mode --
322 -- Testing fgetcsv() with file opened using a+t mode --
452 -- Testing fgetcsv() with file opened using a+ mode --
[all …]
H A Dchmod_variation2.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 linked file\n";
45 echo "\nchmod() on a relative path from a different working directory\n";
53 echo "\nchmod() on a directory with a trailing /\n";
65 chmod() on a path containing .. and .
70 chmod() on a path containing .. with invalid directories
77 chmod() on a linked file
84 chmod() on a relative path from a different working directory
89 chmod() on a directory with a trailing /
/PHP-5.4/ext/standard/tests/array/
H A Dbug21918.phpt7 $a = array(-1=>'a', '-2'=>'b', 3=>'c', '4'=>'d', 5=>'e', '6001'=>'f', '07'=>'g');
9 foreach($a as $k => $v) {
16 $b[] = 'a';
24 $c = array('-2' => 'a');
36 string(1) "a"
51 string(1) "a"
54 string(1) "a"
H A Darray_intersect_ukey_variation3.phpt6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa…
101 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
104 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
109 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
112 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
117 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
120 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
125 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
128 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
189 …ing: array_intersect_ukey() expects parameter 3 to be a valid callback, first array member is not
[all …]
H A Darray_shift_variation8.phpt11 * From a comment left by Traps on 09-Jul-2007 on the array_shift documentation page:
14 * it will return a *copy* of the first element of the array,
23 $a = 1;
24 $array = array(&$a);
27 echo "a = $a, b = $b\n";
31 $a = 1;
32 $array = array(&$a);
36 echo "a = $a, b = $b\n";
46 a = 1, b = 2
49 a = 2, b = 2
H A Duksort_basic.phpt9 function cmp($a, $b) {
10 if ($a == $b) {
13 return ($a < $b) ? -1 : 1;
15 $a = array(3, 2, 5, 6, 1);
16 uasort($a, "cmp");
17 foreach($a as $key => $value) {
/PHP-5.4/ext/spl/tests/
H A Dbug53515.phpt6 $a = array('a' => 1, 'b'=> true, 'c' => 0, 'd' => null, 'e' => false, 'f' => array());
7 $o = new ArrayObject($a, ArrayObject::ARRAY_AS_PROPS);
9 $a['z'] = '';
10 $a[''] = '';
12 foreach ($a as $key => $value) {
14 ' array_key_exists: ' . (array_key_exists($key, $a) ? 'true' : 'false') .
20 a: 1 array_key_exists: true property_exists: true
H A DSplObjectStorage_unserialize_nested.phpt6 $a = new StdClass();
8 $o->a = $a;
13 $so[$a] = 2;
22 C:16:"SplObjectStorage":76:{x:i:2;O:8:"stdClass":1:{s:1:"a";O:8:"stdClass":0:{}},i:1;;r:4;,i:2;;m:a
30 ["a"]=>
/PHP-5.4/ext/standard/tests/strings/
H A Dbug35817.phpt5 $a = pack("H3","181");
6 $b = unpack("H3", $a);
9 $a = pack("H2","18");
10 $b = unpack("H2", $a);
13 $a = pack("H","1");
14 $b = unpack("H", $a);
H A Dbug47322.phpt6 sscanf(":59:58","%s:%d:%f", $a, $b, $c);
7 echo "[$a][$b][$c]\n";
9 sscanf("15:01:58.2","%d:%f:%f", $a, $b, $c);
10 echo "[$a][$b][$c]\n";
12 sscanf("15.1111::foo","%f:%d:%s", $a, $b, $c);
13 echo "[$a][$b][$c]\n";
H A Dstrip_tags_variation4.phpt8 * Description: Strips HTML and PHP tags from a string
26 "<a.>HtMl text</.a>",
27 '<a.>HtMl text</.a>',
28 "<nnn>I am not a valid html text</nnn>",
29 '<nnn>I am not a valid html text</nnn>',
30 "<nnn>I am a quoted (\") string with special chars like \$,\!,\@,\%,\&</nnn>",
35 $quotes = "<p><a><?php<html>";
67 string(26) "I am not a valid html text"
69 string(26) "I am not a valid html text"
71 string(62) "I am a quoted (") string with special chars like $,\!,\@,\%,\&"
[all …]
/PHP-5.4/ext/pcre/tests/
H A Dpreg_replace_edit_basic.phpt11 $string = '123456789 - Hello, world - This is a string.';
14 var_dump(preg_replace('<- This is a string$>',
15 …This shouldn\'t work', $string)); //tries to find '- This is a string' at the end of a string b…
18 … '4', $string, //finds any number that's not 4 and replaces it with a 4
27 … with an indefinite amount of whitespace around them and replaces them with a full stop precedeby …
29 var_dump(preg_replace('<(^[a-z]\w+)@(\w+)\.(\w+)\.([a-z]{2,}$)>',
33 string(54) "123456789 - Hello, world - This is a string."
34 string(54) "123456789 - Hello, world - This is a string."
35 string(54) "444444789 - Hello, world - This is a string."
37 string(56) "123456789 - Bonjour, world - This is a string."
[all …]
/PHP-5.4/ext/session/tests/
H A Dsession_set_save_handler_error.phpt100 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
105 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
110 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
115 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
120 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
125 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
130 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
135 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
140 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
145 Warning: session_set_save_handler(): Argument 1 is not a valid callback in %s on line %d
[all …]
/PHP-5.4/tests/basic/
H A D016.phpt4 a[a]=1&a[b]=3
7 var_dump($_POST['a']);
11 ["a"]=>
H A D020.phpt4 a[a[]]=1&a[b[]]=3
7 var_dump($_POST['a']);
11 ["a["]=>
/PHP-5.4/Zend/tests/
H A Dbug26801.phpt2 Bug #26801 (switch ($a{0}) crash)
6 $a = '11';
7 $b = $a[0];
13 $a = '22';
14 switch ($a[0]) {
H A Dclosure_007.phpt22 $a = new A;
23 $a->printX();
24 $getClosure = $a->getClosureGetter();
25 $a->printX();
27 $a->printX();
29 $a->printX();
H A Dcall_static_002.phpt7 public function __call($a, $b) {
9 var_dump($a);
11 static public function __callStatic($a, $b) {
13 var_dump($a);
17 $a = new Foo;
18 call_user_func(array($a, 'aAa'));
/PHP-5.4/ext/reflection/tests/
H A Dbug63614.phpt6 static $a = array();
15 static $a = array(
16 self::A => 'a'
29 [a] => Array
36 [a] => Array
38 [0] => a
/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_fetch_array.phpt231 func_mysqli_fetch_array($link, $engine, "CHAR(1)", "a", "a", 540);
233 func_mysqli_fetch_array($link, $engine, "CHAR(1) NOT NULL", "a", "a", 560);
237 func_mysqli_fetch_array($link, $engine, "VARCHAR(1)", "a", "a", 580);
258 func_mysqli_fetch_array($link, $engine, "TINYTEXT", "a", "a", 750);
259 func_mysqli_fetch_array($link, $engine, "TINYTEXT NOT NULL", "a", "a", 760);
262 func_mysqli_fetch_array($link, $engine, "BLOB", "a", "a", 780, null, true);
266 func_mysqli_fetch_array($link, $engine, "TEXT", "a", "a", 800);
274 func_mysqli_fetch_array($link, $engine, "MEDIUMTEXT", "a", "a", 860);
282 func_mysqli_fetch_array($link, $engine, "ENUM('a', 'b')", "a", "a", 920);
285 func_mysqli_fetch_array($link, $engine, "SET('a', 'b')", "a", "a", 940);
[all …]
/PHP-5.4/ext/standard/tests/serialize/
H A Dserialization_objects_005.phpt6 * Description: Returns a string representation of variable (which can later be unserialized)
11 * Description: Takes a string representation of variable and recreates it
93a method or access a property of an incomplete object. Please ensure that the class definition "C"…
96a method or access a property of an incomplete object. Please ensure that the class definition "C"…
98a method or access a property of an incomplete object. Please ensure that the class definition "C"…
101a method or access a property of an incomplete object. Please ensure that the class definition "C"…
104a method or access a property of an incomplete object. Please ensure that the class definition "C"…
107a method or access a property of an incomplete object. Please ensure that the class definition "C"…
110a method or access a property of an incomplete object. Please ensure that the class definition "C"…
112a method or access a property of an incomplete object. Please ensure that the class definition "C"…
[all …]
/PHP-5.4/tests/lang/operators/
H A DbitwiseAnd_variationStr.phpt48 --- testing: '0' & '3.4a' ---
76 --- testing: '65' & '3.4a' ---
104 --- testing: '-44' & '3.4a' ---
132 --- testing: '1.2' & '3.4a' ---
160 --- testing: '-7.7' & '3.4a' ---
188 --- testing: 'abc' & '3.4a' ---
265 string(16) "313233653578797a"
360 --- testing: '3.4a' & '0' ---
362 --- testing: '3.4a' & '65' ---
364 --- testing: '3.4a' & '-44' ---
[all …]
/PHP-5.4/ext/mysql/tests/
H A Dmysql_fetch_object.phpt30 public $a = null;
42 public function __construct($a, $b) {
43 $this->a = $a;
59 var_dump($a);
89 %unicode|string%(1) "a"
92 [%u|b%"a"]=>
110 [%u|b%"a"]=>
124 [%u|b%"a"]=>
125 %unicode|string%(1) "a"
134 [%u|b%"a"]=>
[all …]
/PHP-5.4/ext/tokenizer/tests/
H A Dtoken_get_all_variation19.phpt2 Reconstructing a script using token_get_all()
13 /* a different
17 // a class
24 $a = new TestClass();
25 $a->foo();
36 // reconstruct a script (without open/close tags) from the token array
61 /* a different
65 // a class
72 $a = new TestClass();
73 $a->foo();
/PHP-5.4/ext/json/tests/
H A D003.phpt8 $a = array();
9 $a[] = &$a;
11 var_dump($a);
12 var_dump(json_encode($a));
15 unset($a[0]);

Completed in 94 milliseconds

1...<<11121314151617181920>>...246