Home
last modified time | relevance | path

Searched refs:a (Results 226 – 250 of 6183) sorted by relevance

12345678910>>...248

/PHP-5.5/ext/pdo_oci/tests/
H A Dpdo_oci_quote1.phpt22 $a = array(null, "", "a", "ab", "abc", "ab'cd", "a\b\n", "'", "''", "a'", "'z", "a''b", '"');
23 foreach ($a as $u) {
61 Unquoted : string(1) "a"
62 Quoted : string(3) "'a'"
67 string(1) "a"
97 Unquoted : string(4) "a\b
99 Quoted : string(6) "'a\b
105 string(4) "a\b
127 Unquoted : string(2) "a'"
133 string(2) "a'"
[all …]
/PHP-5.5/ext/phar/tests/files/
H A Dfrontcontroller3.phar2 function s($a)
4 static $b = array(b"/hi" => b"a.phps");
5 if (isset($b[$a])) return $b[$a];
6 return $a;
12 v���������������������a.php��� �kJ�����ж���������a.jpg��� �kJ�����ж���������a.phps��� …
/PHP-5.5/Zend/tests/
H A Dgc_014.phpt7 $a = new stdClass();
9 $b =& $a;
10 $a->{"a".$i} = $a;
13 $a->b = "xxx";
14 unset($a);
H A Dforeach_list_001.phpt6 foreach(array(array(1,2), array(3,4)) as list($a, $b)) {
7 var_dump($a . $b);
11 array('a', 'b'),
15 foreach ($array as list($a, $b)) {
16 var_dump($a . $b);
25 foreach ($multi as list(list($a, $b), list($c, $d))) {
26 var_dump($a . $b . $c . $d);
29 foreach ($multi as $key => list(list($a, $b), list($c, $d))) {
30 var_dump($key . $a . $b . $c . $d);
H A Dbug48533.phpt7 private function a() {
16 static function __callstatic($a, $b) {
17 var_dump('__callStatic::'. $a);
19 public function __call($a, $b) {
20 var_dump('__call::'. $a);
25 $x->a();
28 $x::a();
34 %unicode|string%(9) "__call::a"
37 %unicode|string%(15) "__callStatic::a"
H A Dis_a.phpt21 $a = new A;
22 var_dump(is_a($a, "B1"));
23 var_dump(is_a($a, "A"));
24 var_dump(is_a($a, "BASE"));
25 var_dump(is_a($a, "INT"));
26 var_dump(is_subclass_of($a, "B2"));
27 var_dump(is_subclass_of($a, "A"));
28 var_dump(is_subclass_of($a, "BASE"));
29 var_dump(is_subclass_of($a, "INT"));
/PHP-5.5/tests/lang/
H A D007.phpt6 $a = 10;
10 static $a=1;
14 echo "$a $b ";
15 $a++;
17 echo "$a $c ";
21 echo "$a $b $c ";
23 echo "$a $b $c ";
H A Dengine_assignExecutionOrder_009.phpt17 $a[1][2] = 0;
18 $a[3][4] = 1;
20 var_dump($a[$i=1][++$i] < $a[++$i][++$i]);
21 var_dump($a[$i=1][++$i] <= $a[++$i][++$i]);
22 var_dump($a[$i=1][++$i] > $a[++$i][++$i]);
23 var_dump($a[$i=1][++$i] >= $a[++$i][++$i]);
/PHP-5.5/ext/standard/tests/array/
H A Darray_intersect_1.phpt19 function comp_func($a, $b) {
20 if ($a === $b) return 0;
21 return ($a > $b)? 1:-1;
35 echo '$a='.var_export($a,TRUE).";\n";
43 echo '$a='.var_export($a,TRUE).";\n";
51 echo '$a='.var_export($a,TRUE).";\n";
59 echo '$a='.var_export($a,TRUE).";\n";
67 $a=array (
147 $a=array (
220 $a=array (
[all …]
/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_implementsInterface_001.phpt70 - Using object argument: Interface A is a Class
71 - Using string argument: Interface A is a Class
73 - Using object argument: Interface B is a Class
74 - Using string argument: Interface B is a Class
76 - Using object argument: Interface C is a Class
77 - Using string argument: Interface C is a Class
85 - Using object argument: Interface A is a Class
86 - Using string argument: Interface A is a Class
88 - Using object argument: Interface B is a Class
153 Parameter one must either be a string or a ReflectionClass object
[all …]
H A DReflectionObject_isInstance_basic.phpt18 echo "is $name a $class? ";
25 is myA a A? bool(true)
26 is myB a A? bool(true)
27 is myX a A? bool(false)
28 is myA a B? bool(false)
29 is myB a B? bool(true)
30 is myX a B? bool(false)
31 is myA a X? bool(false)
32 is myB a X? bool(false)
33 is myX a X? bool(true)
/PHP-5.5/ext/phar/tests/
H A Drename.phpt17 $files['a'] = 'a';
21 echo file_get_contents($pname . '/a') . "\n";
22 rename($pname . '/a', $pname . '/b');
24 echo file_get_contents($pname . '/a') . "\n";
29 a
30 a
32 …arning: file_get_contents(phar://%srename.phar.php/a): failed to open stream: phar error: "a" is n…
/PHP-5.5/ext/phar/tests/zip/
H A Drmdir.phpt18 $phar->addEmptyDir('a');
19 $phar['a/x'] = 'a';
24 echo file_get_contents($alias . '/a/x') . "\n";
25 var_dump(rmdir($alias . '/a'));
26 echo file_get_contents($alias . '/a/x') . "\n";
27 unlink($alias . '/a/x');
28 var_dump(rmdir($alias . '/a'));
33 a
37 a
/PHP-5.5/ext/simplexml/tests/
H A Dbug41867.phpt8 $a = simplexml_load_string("<a><b><c/></b></a>");
9 echo $a->getName()."\n";
10 echo $a->b->getName()."\n";
11 echo $a->b->c->getName()."\n";
15 a
/PHP-5.5/ext/standard/tests/serialize/
H A Dserialization_objects_004.phpt6 * Description: Returns a string representation of variable (which can later be unserialized)
11 * Description: Takes a string representation of variable and recreates it
24 $x = "a";
43 string(37) "a:2:{i:0;O:8:"stdClass":0:{}i:1;r:2;}"
44 string(22) "a:2:{i:0;i:1;i:1;i:1;}"
45 string(30) "a:2:{i:0;s:1:"a";i:1;s:1:"a";}"
46 string(22) "a:2:{i:0;b:1;i:1;b:1;}"
47 string(18) "a:2:{i:0;N;i:1;N;}"
48 string(26) "a:2:{i:0;a:0:{}i:1;a:0:{}}"
/PHP-5.5/ext/mbstring/tests/
H A Dmb_split_variation1.phpt19 $string = 'a b c d e f g';
26 // get a class
39 // get a resource variable
107 string(13) "a b c d e f g"
113 string(13) "a b c d e f g"
119 string(13) "a b c d e f g"
125 string(13) "a b c d e f g"
131 string(13) "a b c d e f g"
137 string(13) "a b c d e f g"
143 string(13) "a b c d e f g"
[all …]
/PHP-5.5/ext/standard/tests/file/
H A Dfputcsv_variation13.phpt35 "a+", "a+b", "a+t",
106 -- file opened in a+ --
115 -- file opened in a+b --
124 -- file opened in a+t --
214 -- file opened in a+ --
223 -- file opened in a+b --
232 -- file opened in a+t --
322 -- file opened in a+ --
430 -- file opened in a+ --
538 -- file opened in a+ --
[all …]
/PHP-5.5/ext/spl/tests/
H A Dobserver_007.phpt5 $a = new SplObjectStorage;
7 var_dump($a == $b);
9 var_dump($a == $b);
10 $a[$b] = 2;
11 var_dump($a == $b);
12 $a[$b] = 3;
13 var_dump($a == $b);
H A Drecursive_tree_iterator_001.phpt10 "a",
13 "a" => array(
54 [0] => | |-a
56 [a] => \-Array
64 [| |-0] => a
66 [\-a] => Array
74 [0] => a
76 [a] => Array
84 [| |-0] => | |-a
86 [\-a] => \-Array
[all …]
H A Dspl_003.phpt5 class a{}
6 class b extends a{}
22 class_implements("a"),
42 ["a"]=>
43 string(1) "a"
48 ["a"]=>
49 string(1) "a"
52 ["a"]=>
53 string(1) "a"
56 ["a"]=>
[all …]
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput5656 0: a\x{0a}b
680 0: a\x{0a}b
698 0: a\x{0a}b
720 0: a\x{0a}b
726 0: a\x{0d}\x{0a}\x{0d}\x{0a}b
728 0: a\x{0d}\x{0a}\x{0d}\x{0a}\x{0d}\x{0a}b
730 0: a\x{0a}\x{0d}\x{0a}\x{0d}b
732 0: a\x{0a}\x{0a}\x{0d}\x{0a}b
840 0: a\x{0a}b
858 0: a\x{0a}b
[all …]
/PHP-5.5/tests/basic/
H A D017.phpt4 a[]=1&a[a]=1&a[b]=3
7 var_dump($_POST['a']);
13 ["a"]=>
/PHP-5.5/ext/hash/
H A Dhash_sha.c183 (e) += ROTATE_LEFT ((a), 5); \
188 (e) += ROTATE_LEFT ((a), 5); \
193 (e) += ROTATE_LEFT ((a), 5); \
198 (e) += ROTATE_LEFT ((a), 5); \
317 state[0] += a; in SHA1Transform()
499 T2 = SHA256_F2(a) + SHA256_F1(a,b,c); in SHA256Transform()
501 d = c; c = b; b = a; a = T1 + T2; in SHA256Transform()
504 state[0] += a; in SHA256Transform()
809 T2 = SHA512_F2(a) + SHA512_F1(a,b,c); in SHA512Transform()
811 d = c; c = b; b = a; a = T1 + T2; in SHA512Transform()
[all …]
/PHP-5.5/ext/pcre/tests/
H A Dbug40195.phpt6 var_dump(preg_match('@^(/([a-z]*))*$@', '//abcde', $m)); var_dump($m);
7 var_dump(preg_match('@^(/(?:[a-z]*))*$@', '//abcde', $m)); var_dump($m);
9 var_dump(preg_match('@^(/([a-z]+))+$@', '/a/abcde', $m)); var_dump($m);
10 var_dump(preg_match('@^(/(?:[a-z]+))+$@', '/a/abcde', $m)); var_dump($m);
33 string(8) "/a/abcde"
42 string(8) "/a/abcde"
/PHP-5.5/ext/standard/tests/general_functions/
H A Dbug44394_2.phpt17 $string = "<a href='a?q=1'>asd</a>";
19 output_add_rewrite_var('a', 'b');
35 <a href='a?q=1&PHPSESSID=%s&a=b'>asd</a>

Completed in 93 milliseconds

12345678910>>...248