Home
last modified time | relevance | path

Searched refs:a (Results 476 – 500 of 6311) sorted by relevance

1...<<11121314151617181920>>...253

/PHP-5.5/ext/zlib/tests/
H A Dgzopen_variation4.phpt12 * Description: Open a .gz-file and return a .gz-file pointer
55 //create a file in dir1
111 This is a file in dir2
112 This is a file in dir1
113 This is a file in dir1
114 This is a file in working dir
115 This is a file in script dir
155 This is a file in dir2
156 This is a file in dir1
157 This is a file in dir1
[all …]
H A Dreadgzfile_variation15.phpt31 // create a file in the middle directory
33 gzwrite($h, "This is a file in dir2");
41 //create a file in dir1
43 gzwrite($h, "This is a file in dir1");
51 // create a file in working directory
69 // create a file in the script directory
88 file content:This is a file in dir2
89 file content:This is a file in dir1
90 file content:This is a file in dir1
91 file content:This is a file in working dir
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dstrtoupper1.phpt69 var_dump( strtoupper("a", "b") ); /* Arguments > Expected */
85 0a => 0a
101 1a => 1a
117 2a => 2a
133 3a => 3a
149 4a => 4a
165 5a => 5a
181 6a => 4a
197 7a => 5a
H A Dbug21744.phpt6 <a href="test?test\\!!!test">test</a>
11 print strip_tags($test, '<a>');
15 <a href="test?test\!!!test">test</a>
H A Dhtmlentities21.phpt29 $a = htmlentities($test, $flag | ENT_DISALLOWED, $charset);
31 … if ($a == "" && $b == "") { echo sprintf("%05X", $tests[$i]), ": INVALID SEQUENCE\n"; continue; }
32 echo sprintf("%05X", $tests[$i]), ": ", bin2hex($a), " ", bin2hex($b), "\n";
76 0000A: 0a 0a
92 0000A: 0a 0a
108 0000A: 264e65774c696e653b 0a
124 0000A: 0a 0a
140 0000A: 0a 0a
156 0000A: 0a 0a
172 0000A: 0a 0a
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dsymlink_to_symlink.phpt2 symlink() using a relative path, and symlink() to a symlink
15 // symlink to a regular file using a relative dest
18 // symlink to a symlink using a relative path
21 // symlink to a non-existent path
25 // symlink to a regular file using an absolute path
28 // symlink to a symlink using an absolute path
H A Dbug55124.phpt7 mkdir('a/./b', 0755, true);
8 if (is_dir('a/b')) {
9 rmdir('a/b');
11 if (is_dir('./a')) {
12 rmdir('a');
/PHP-5.5/ext/pcre/tests/
H A Dpreg_replace_error2.phpt14 $regex = '/[a-zA-Z]/';
15 $replace = array('this is a string', array('this is', 'a subarray'),);
28 Arg value is: this is a string
29 string(64) "this is a stringthis is a stringthis is a stringthis is a string"
33 Warning: preg_replace(): Parameter mismatch, pattern is a string while replacement is an array in %…
/PHP-5.5/ext/standard/tests/array/
H A Deach_variation5.phpt13 * 1. a two-dimensional array
14 * 2. a sub-array
22 array('a', 'b', 'c')
25 echo "\n-- Pass each() a two-dimensional array --\n";
30 echo "\n-- Pass each() a sub-array --\n";
39 -- Pass each() a two-dimensional array --
85 -- Pass each() a sub-array --
88 string(1) "a"
90 string(1) "a"
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug41970.phpt6 $a = array(4,3,2);
8 var_dump(call_user_func_array("sort", array($a)));
9 var_dump(call_user_func_array("strlen", array($a)));
10 var_dump(call_user_func("sort", $a));
11 var_dump(call_user_func("strlen", $a));
16 Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 5
22 Warning: Parameter 1 to sort() expected to be a reference, value given in %sbug41970.php on line 7
/PHP-5.5/ext/json/tests/
H A D006.phpt8 $a = array('<foo>',"'bar'",'"baz"','&blong&');
10 echo "Normal: ", json_encode($a), "\n";
11 echo "Tags: ", json_encode($a,JSON_HEX_TAG), "\n";
12 echo "Apos: ", json_encode($a,JSON_HEX_APOS), "\n";
13 echo "Quot: ", json_encode($a,JSON_HEX_QUOT), "\n";
14 echo "Amp: ", json_encode($a,JSON_HEX_AMP), "\n";
15 echo "All: ", json_encode($a,JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP), "\n";
/PHP-5.5/ext/phar/tests/
H A D018.phpt19 $files['a'] = 'a';
20 $files['b/a'] = 'b';
25 while (false !== ($a = readdir($dir))) {
26 var_dump($a);
27 var_dump(is_dir('phar://hio/' . $a));
33 string(1) "a"
H A D019.phpt17 $files['a'] = 'a';
18 $files['b/a'] = 'b';
28 while (false !== ($a = readdir($dir))) {
29 var_dump($a);
30 var_dump(is_dir('phar://hio/b/' . $a));
38 %s(1) "a"
/PHP-5.5/Zend/tests/
H A Dbug32296.phpt19 $a = get_class_methods(get_class($this));
21 print($c."\n".'a:');
22 print_r($a);
30 $a = new square();
31 $a->buggy();
33 print_r(get_class_methods($a));
37 a:Array
H A Disset_003.phpt6 $a = 'foo';
7 $b =& $a;
11 var_dump(isset($a[0], $b[1]));
13 var_dump(isset($a[0]->a));
15 var_dump(isset($c[0][1][2]->a->b->c->d));
17 var_dump(isset(${$a}->{$b->$c[$d]}));
H A Dns_064.phpt15 public function __set($a, $b) {
16 var_dump($a, $b);
18 public function __get($a) {
19 var_dump($a);
27 $x->a = 1;
33 string(1) "a"
H A Dcall_static_004.phpt7 static function __callstatic($a, $b) {
8 var_dump($a);
14 $a = 1;
15 foo::$a();
21 Fatal error: Function name must be a string in %s on line %d
H A Dgc_012.phpt7 $a=array();
9 $a[$i] = array(array());
10 $a[$i][0] = & $a[$i];
13 unset($a);
/PHP-5.5/tests/lang/
H A Dfunc_num_args.004.phpt23 $a = 'original.a';
24 valRef($a, $a);
25 var_dump($a);
36 string(10) "original.a"
37 string(10) "original.a"
/PHP-5.5/tests/lang/operators/
H A DbitwiseShiftLeft_variationStr.phpt52 --- testing: '0' << '3.4a' ---
80 --- testing: '65' << '3.4a' ---
108 --- testing: '-44' << '3.4a' ---
136 --- testing: '1.2' << '3.4a' ---
164 --- testing: '-7.7' << '3.4a' ---
192 --- testing: 'abc' << '3.4a' ---
364 --- testing: '3.4a' << '0' ---
366 --- testing: '3.4a' << '65' ---
368 --- testing: '3.4a' << '-44' ---
370 --- testing: '3.4a' << '1.2' ---
[all …]
H A DbitwiseShiftLeft_variationStr_64bit.phpt52 --- testing: '0' << '3.4a' ---
80 --- testing: '65' << '3.4a' ---
108 --- testing: '-44' << '3.4a' ---
136 --- testing: '1.2' << '3.4a' ---
164 --- testing: '-7.7' << '3.4a' ---
192 --- testing: 'abc' << '3.4a' ---
364 --- testing: '3.4a' << '0' ---
366 --- testing: '3.4a' << '65' ---
368 --- testing: '3.4a' << '-44' ---
370 --- testing: '3.4a' << '1.2' ---
[all …]
H A Ddivide_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' ---
360 --- testing: '3.4a' / '0' ---
362 --- testing: '3.4a' / '65' ---
364 --- testing: '3.4a' / '-44' ---
366 --- testing: '3.4a' / '1.2' ---
[all …]
/PHP-5.5/ext/standard/tests/serialize/
H A Dincomplete_class.phpt10 $o->test = "a";
20a method or access a property of an incomplete object. Please ensure that the class definition "un…
22a method or access a property of an incomplete object. Please ensure that the class definition "un…
25a method or access a property of an incomplete object. Please ensure that the class definition "un…
/PHP-5.5/ext/phar/tests/tar/
H A Dtar_gzip.phpt22 $a = new tarmaker($fname, 'zlib');
23 $a->init();
24 $a->addFile('tar_004.php', '<?php var_dump(__FILE__);');
25 $a->addFile('internal/file/here', "hi there!\n");
26 $a->mkDir('internal/dir');
27 $a->mkDir('dir');
28 $a->addFile('.phar/stub.php', '<?php
33 $a->close();
37 $a = new Phar($fname);
38 $a['test'] = 'hi';
/PHP-5.5/ext/spl/tests/
H A DarrayObject_setIteratorClass_error1.phpt6 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3));
16 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3));
27 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3), 0, "nonExistentClass");
36 $ao = new ArrayObject(array('a'=>1,'b'=>2,'c'=>3), 0, "stdClass");
46 Warning: ArrayObject::setIteratorClass() expects parameter 1 to be a class name derived from Iterat…
47 a=>1
51 Warning: ArrayObject::setIteratorClass() expects parameter 1 to be a class name derived from Iterat…
52 a=>1
55 string(113) "ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterato…
56 string(105) "ArrayObject::__construct() expects parameter 3 to be a class name derived from Iterato…

Completed in 55 milliseconds

1...<<11121314151617181920>>...253