/php-src/Zend/tests/named_params/ |
H A D | basic.phpt | 7 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; 11 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; 35 test(e: $e, a: $a, d: $d, b: $b, c: $c); 36 test(a: $a, b: $b, c: $c, e: $e); 41 test2(e: $e, a: $a, d: $d, b: $b, c: $c); 42 test2(a: $a, b: $b, c: $c, e: $e); 59 test3(e: $e, a: $a, d: $d, b: $b, c: $c); 60 test3(a: $a, b: $b, c: $c, e: $e); 63 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; 67 echo "a=$a, b=$b, c=$c, d=$d, e=$e\n"; [all …]
|
H A D | __call.phpt | 15 private function _method($a = 'a', $b = 'b') { 16 echo "a: $a, b: $b\n"; 24 $test->method(b: 'B'); 27 Test::method(b: 'B'); 28 Test::method(b: $obj); 32 a: A, b: B 33 a: a, b: B 34 a: a, b: STR 35 a: A, b: B 36 a: a, b: B [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | 008.phpt | 11 echo '$b='.var_export($b,TRUE).";\n"; 29 'b'=>'some', 47 $b = array( 68 echo '$b='.var_export($b,TRUE).";\n"; 107 $b=array ( 155 array_intersect($a,$b); 214 'b' => 'some', 231 $b=array ( 255 ["b"]=> 273 array_intersect($a,$b); [all …]
|
H A D | bug25708.phpt | 24 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']); 28 $b = &$GLOBALS['b']; 32 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']); 35 $b = &$GLOBALS['b']; 36 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']); 39 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']); 42 var_dump($a, $b, $GLOBALS['a'], $GLOBALS['b']); 44 $c = $b; 45 var_dump($b, $GLOBALS['b'], $c); 58 $b = 'ok'; [all …]
|
H A D | bug28739.phpt | 9 function a($a, $b){var_dump(__FUNCTION__);return $a->x - $b->x;} 10 function b($a, $b){var_dump(__FUNCTION__);return $a->x - $b->x;} 42 string(1) "b" 43 string(1) "b" 44 string(1) "b" 45 string(1) "b" 46 string(1) "b" 47 string(1) "b" 48 string(1) "b" 49 string(1) "b" [all …]
|
H A D | 007.phpt | 9 echo '$b='.var_export($b,TRUE).";\n"; 15 'b'=>'some', 29 $b = array( 45 echo '$b='.var_export($b,TRUE).";\n"; 83 echo '$b='.var_export($b,TRUE).";\n"; 100 echo '$b='.var_export($b,TRUE).";\n"; 106 echo '$b='.var_export($b,TRUE).";\n"; 112 echo '$b='.var_export($b,TRUE).";\n"; 118 echo '$b='.var_export($b,TRUE).";\n"; 142 $b=array ( [all …]
|
/php-src/Zend/tests/ |
H A D | bug74053.phpt | 5 class b { 17 self::$b = new b; 25 b::destruct 27 b::destruct 29 b::destruct 31 b::destruct 33 b::destruct 35 b::destruct 37 b::destruct 39 b::destruct [all …]
|
H A D | bug46238.phpt | 14 $b = ''; 16 $a::$b($a); 17 $a::$b(array()); 18 $a::$b(NULL); 19 $a::$b(1); 20 $a::$b(); 23 $b = "\0"; 25 $a::$b($a); 27 $a::$b(NULL); 28 $a::$b(1); [all …]
|
H A D | objects_025.phpt | 20 $b = 'aaaaa1'; 21 $a->$b(); 22 $a::$b(); 24 $b = ' '; 25 $a->$b(); 26 $a::$b(); 28 $b = str_repeat('a', 10000); 29 $a->$b(); 30 $a::$b(); 32 $b = NULL; [all …]
|
/php-src/ext/gd/libgd/ |
H A D | gd_intern.h | 4 #define MIN(a,b) ((a)<(b)?(a):(b)) argument 6 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) argument 8 #define MAX(a,b) ((a)<(b)?(b):(a)) argument 10 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) argument
|
/php-src/ext/standard/ |
H A D | md5.c | 155 (a) += (b); 189 uint32_t a, b, c, d; in body() local 195 b = ctx->b; in body() 201 saved_b = b; in body() 278 b += saved_b; in body() 286 ctx->b = b; in body() 296 ctx->b = 0xefcdab89; in PHP_MD5InitArgs() 374 result[4] = ctx->b; in PHP_MD5Final() 375 result[5] = ctx->b >> 8; in PHP_MD5Final() 376 result[6] = ctx->b >> 16; in PHP_MD5Final() [all …]
|
H A D | strnatcmp.c | 42 for(;; (*a)++, (*b)++) { in compare_right() 44 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_right() 48 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_right() 50 else if (**a < **b) { in compare_right() 53 } else if (**a > **b) { in compare_right() 71 (*b == bend || !isdigit((int)(unsigned char)**b))) in compare_left() 75 else if (*b == bend || !isdigit((int)(unsigned char)**b)) in compare_left() 77 else if (**a < **b) in compare_left() 79 else if (**a > **b) in compare_left() 93 *bend = b + b_len; in strnatcmp_ex() [all …]
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | reconciliation_of_elements.phpt | 12 <a:root2 xmlns:a="urn:b"> 13 <a:child xmlns:b="urn:b"> 14 <b:child1 xmlns:a="urn:x">bar</b:child1> 41 <a:root2 xmlns:a="urn:b"> 45 <b:child xmlns:b="urn:b"> 46 <b:child1 xmlns:a="urn:x">bar</b:child1> 47 </b:child></root> 49 <b:child xmlns:b="urn:b"> 50 <b:child1 xmlns:a="urn:x">bar</b:child1> 51 </b:child>
|
/php-src/sapi/cgi/tests/ |
H A D | 012.phpt | 83 …] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&qu… 91 …] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&qu… 94 …] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&qu… 101 …] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&qu… 109 …] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&qu… 112 …] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&qu…
|
/php-src/ext/pcntl/tests/ |
H A D | bug72154.phpt | 7 $b = 666; 8 var_dump($b); 9 $c = &$b; 10 $var5 = pcntl_wait($b,0,$c); 11 unset($b); 13 $b = 666; 14 var_dump($b); 15 $c = &$b; 16 $var5 = pcntl_waitpid(0,$b,0,$c); 17 unset($b);
|
/php-src/ext/dom/tests/ |
H A D | DOMElement_append_hierarchy_test.phpt | 9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>'); 85 string(39) "<p><b>hello<b><i>world</i></b></b></p> 88 string(39) "<p><b>hello<i>world</i></b><b></b></p> 91 string(42) "<p><b>hello<i>world</i>foo</b><b></b></p> 94 string(39) "<p><b><i>world<b>hello</b></i></b></p> 98 string(39) "<p><b>hello</b><b><i>world</i></b></p> 102 string(27) "<p><b><i>world</i></b></p> 106 string(39) "<p><b>hello</b><b><i>world</i></b></p> 112 string(39) "<p><b>hello</b><b><i>world</i></b></p>
|
H A D | DOMElement_prepend_hierarchy_test.phpt | 9 $dom_original->loadXML('<p><b>hello</b><b><i>world</i></b></p>'); 92 string(39) "<p><b><b><i>world</i></b>hello</b></p> 95 string(39) "<p><b><i>world</i>hello</b><b></b></p> 98 string(42) "<p><b><i>world</i>foohello</b><b></b></p> 101 string(39) "<p><b><i><b>hello</b>world</i></b></p> 104 string(42) "<p><b><i><b>hello</b>fooworld</i></b></p> 108 string(39) "<p><b>hello</b><b><i>world</i></b></p> 112 string(27) "<p><b><i>world</i></b></p> 116 string(39) "<p><b>hello</b><b><i>world</i></b></p> 122 string(39) "<p><b>hello</b><b><i>world</i></b></p>
|
/php-src/sapi/phpdbg/tests/ |
H A D | watch_001.phpt | 12 b 3 14 w r $b 25 00004: $b = [$a]; 28 prompt> [Breaking on watchpoint $b] 31 >00006: unset($b); 32 00007: $b = 2; 34 prompt> [Breaking on watchpoint $b] 37 >00007: $b = 2; 50 $b = [$a]; 52 unset($b); [all …]
|
/php-src/ext/spl/tests/ |
H A D | ArrayObject_sort_different_backing_storage.phpt | 6 $obj = (object)['a' => 2, 'b' => 1]; 8 $ao->uasort(function($a, $b) { return $a <=> $b; }); 12 $ao2->uasort(function($a, $b) { return $b <=> $a; }); 18 $ao3->b = 1; 19 $ao3->uasort(function($a, $b) { return $a <=> $b; }); 23 $ao4->uasort(function($a, $b) { return $a <=> $b; }); 27 $ao5->uasort(function($a, $b) { return $a <=> $b; }); 35 ["b"]=> 48 ["b"]=> 58 ["b"]=> [all …]
|
H A D | observer_007.phpt | 6 $b = new SplObjectStorage; 7 var_dump($a == $b); 8 $b[$b] = 2; 9 var_dump($a == $b); 10 $a[$b] = 2; 11 var_dump($a == $b); 12 $a[$b] = 3; 13 var_dump($a == $b);
|
/php-src/ext/hash/ |
H A D | hash_md.c | 115 #define MD4_R1(a,b,c,d,k,s) a = ROTL32(s, a + MD4_F(b,c,d) + x[k]) argument 126 MD4_R1(a,b,c,d, 0, 3); in MD4Transform() 127 MD4_R1(d,a,b,c, 1, 7); in MD4Transform() 128 MD4_R1(c,d,a,b, 2,11); in MD4Transform() 129 MD4_R1(b,c,d,a, 3,19); in MD4Transform() 130 MD4_R1(a,b,c,d, 4, 3); in MD4Transform() 131 MD4_R1(d,a,b,c, 5, 7); in MD4Transform() 132 MD4_R1(c,d,a,b, 6,11); in MD4Transform() 133 MD4_R1(b,c,d,a, 7,19); in MD4Transform() 134 MD4_R1(a,b,c,d, 8, 3); in MD4Transform() [all …]
|
/php-src/ext/phar/tests/ |
H A D | 025.phpt | 15 $files['b'] = '<?php echo "This is b\n"; ?>'; 16 $files['b/b'] = '<?php echo "This is b/b\n"; ?>'; 21 include $pname . '/b'; 22 include $pname . '/b/b'; 29 This is b 30 This is b/b
|
/php-src/tests/lang/ |
H A D | bug35176.phpt | 13 …b>Warning</b>: require_once(nonexistent.php) [<a href='/function.require-once.html'>function.requ… 15 <b>Fatal error</b>: Uncaught Error: Failed opening required 'nonexistent.php' (include_path='%s') … 18 thrown in <b>%sbug35176.php</b> on line <b>2</b><br />
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_config.h | 38 # define timeradd(a, b, result) \ argument 40 (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ 41 (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ 52 # define timercmp(a, b, CMP) \ argument 53 (((a)->tv_sec == (b)->tv_sec) ? \ 54 ((a)->tv_usec CMP (b)->tv_usec) : \ 55 ((a)->tv_sec CMP (b)->tv_sec)) 60 # define MIN(a,b) (((a)<(b))?(a):(b)) argument 64 # define MAX(a,b) (((a)>(b))?(a):(b)) argument
|
/php-src/ext/opcache/tests/ |
H A D | bug78015.phpt | 19 $a = ['b' => [$x]]; 20 $d = !$a['b']; 26 $a = ['b' => [$x]]; 27 $d = (int) $a['b']; 33 $a = ['b' => [$x]]; 34 $d = $a['b'] ?: 42; 40 $a = ['b' => [$x]]; 47 $a = ['b' => [$x]]; 48 $b = "foo"; 49 $d = "$a[b]{$b}bar"; [all …]
|