/php-src/tests/lang/ |
H A D | engine_assignExecutionOrder_006.phpt | 37 $b = array(array(1)); 40 $a[i1()][i2()] = ($b[i3()][i4()] = $c[i5()][i6()]); 42 var_dump($b); 45 $a[i1()][i2()] = $b[i3()][i4()] = -$c[i5()][i6()]; 47 var_dump($b); 50 $a[i1()][i2()] = -($b[i3()][i4()] = +($c[i5()][i6()])); 52 var_dump($b);
|
/php-src/Zend/tests/ |
H A D | modify_isref_value_return.phpt | 7 public $b; 13 $a->b =& $arr; 15 (new ReflectionProperty('A', 'b'))->getValue($a)[] = 42; 22 ["b"]=>
|
H A D | gh12457.phpt | 6 var_dump(stripos('aaBBBBBb', 'b')); 7 var_dump(stripos('aaBBBBBbb', 'b')); 8 var_dump(stripos('aaBBBBBbbb', 'b')); 9 var_dump(stristr('aaBBBBBb', 'b')); 10 var_dump(stristr('aaBBBBBbb', 'b')); 11 var_dump(stristr('aaBBBBBbbb', 'b'));
|
H A D | list_001.phpt | 6 list($a, list($b)) = array(new stdclass, array(new stdclass)); 7 var_dump($a, $b); 8 [$a, [$b]] = array(new stdclass, array(new stdclass)); 9 var_dump($a, $b);
|
H A D | bug73987_2.phpt | 7 abstract function example($a, $b, $c); 11 function example($a, $b = null, $c = null) { } 15 function example($a, $b, $c = null) { } 20 Fatal error: Declaration of C::example($a, $b, $c = null) must be compatible with B::example($a, $b…
|
H A D | flexible-heredoc-complex-test1.phpt | 7 $a = 'b'; 8 ${"b\nb\n d"} = 'b'; 13 b 29 b
|
H A D | flexible-heredoc-complex-test2.phpt | 7 $a = 'b'; 8 ${"b\nb\n d"} = 'b'; 13 b 29 b
|
H A D | 027.phpt | 6 $a = 'b'; 7 $b = 'c'; 12 $a = 'b'; 13 $b = 'c';
|
/php-src/ext/opcache/tests/jit/ |
H A D | assign_011.phpt | 17 $b = array(); 19 $b =& $c; 21 $b = $d; 22 var_dump($b, $c);
|
H A D | assign_012.phpt | 17 $b = array(); 19 $b =& $c; 21 $b = $d; 22 var_dump($b, $c);
|
H A D | assign_026.phpt | 14 $b=&$a; 15 $b=1; 18 $a->b=2; 19 $b=&$a;
|
/php-src/ext/phar/tests/ |
H A D | phar_oo_010.phpt | 17 var_dump(isset($phar['b.php'])); 18 var_dump(isset($phar['b/c.php'])); 19 var_dump(isset($phar['b/d.php'])); 25 var_dump(isset($phar['b'])); 30 var_dump(isset($phar['b/c'])); 32 var_dump(isset($phar['b']));
|
/php-src/ext/phar/tests/tar/ |
H A D | open_for_write_existing.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 29 $fp = fopen($alias . '/b/c.php', 'wb'); 33 include $alias . '/b/c.php';
|
/php-src/ext/phar/tests/zip/ |
H A D | open_for_write_existing.phpt | 20 $files['b.php'] = '<?php echo "This is b\n"; ?>'; 21 $files['b/c.php'] = '<?php echo "This is b/c\n"; ?>'; 28 $fp = fopen($alias . '/b/c.php', 'wb'); 31 include $alias . '/b/c.php';
|
/php-src/ext/opcache/tests/ |
H A D | gh8846.phpt | 36 <b>Fatal error</b>: Cannot redeclare class Foo (previously declared in %sgh8846-1.inc:2) in <b>%sg…
|
/php-src/ext/standard/tests/array/ |
H A D | 006.phpt | 7 $b = array("3" => "foo", "4" => "bar", "5" => "fubar"); 8 $c = array("a" => "foo", "b" => "bar", "c" => "fubar"); 16 echo array_pop($b), "\n"; 17 var_dump($b); 45 ["b"]=>
|
/php-src/ext/standard/tests/filters/ |
H A D | bug50363.phpt | 8 $b = fopen('php://temp', 'w+'); 9 stream_filter_append($b, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE); 10 fwrite($b, $foo); 11 rewind($b); 12 fpassthru($b);
|
/php-src/ext/standard/tests/file/ |
H A D | 007_variation20.phpt | 2 Test fopen and fclose() functions - usage variations - "w+b" mode 6 /* Test fopen() and fclose(): Opening the file in "w+b" mode, 9 checking for the file truncation when trying to open an existing file in "w+b" mode, 19 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n"; 20 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode 32 …e) ); //Check for size of existing data file before opening the file in "w+b" mode again, expecte… 34 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode 35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b… 39 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created 48 *** Test fopen() & fclose() functions: with 'w+b' mode ***
|
/php-src/Zend/tests/varSyntax/ |
H A D | constClassMemberAccess.phpt | 7 const A = ['a' => ['b' => 'c']]; 12 var_dump(A::A['a']['b']); 19 ["b"]=> 24 ["b"]=>
|
/php-src/Zend/tests/assert/ |
H A D | expect_015.phpt | 9 global $a, $$b; 13 $x = $a ? $b : $c; 15 $x = $a ?? $b; 150 $x = "{$a}b"; 151 $x = "${a}b"; 164 } elseif ($b) { 176 global $$b; 183 $x = $a ?? $b; 304 $x = "{$a}b"; 305 $x = "{$a}b"; [all …]
|
/php-src/Zend/tests/traits/ |
H A D | bug61998.phpt | 53 $b = new Bar(); 54 $b->newFunc(); //from T1 55 $b->func(); //from Bar 56 $b->func2(); //from Bar 57 $b->newFunc2(); //from T2 58 $b->newFunc3(); //from T2 59 $b->func3(); //from Bar
|
/php-src/Zend/tests/arg_unpack/ |
H A D | by_ref.phpt | 37 $a = $b = $c = $d = 0; 43 test2($a, $b, ...$array); 44 var_dump($a, $b, $array); 46 test2($a, $b, $c, ...$array); 47 var_dump($a, $b, $c, $array); 49 test2($a, $b, $c, $d, ...$array); 50 var_dump($a, $b, $c, $d, $array);
|
/php-src/ext/standard/tests/serialize/ |
H A D | 001.phpt | 20 public $b; 26 $this->b = "php"; 73 $a[ "b" ] = &$a[ "a" ]; 82 b:1; 83 b:0; 95 …1;d:1.100000000000000088817841970012523233890533447265625;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}} 107 ["b"]=> 115 ["b"]=> 118 a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;} 122 ["b"]=>
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_gcm.c | 14 #define IR_GCM_IS_SCHEDULED_EARLY(b) (((int32_t)(b)) < 0) argument 15 #define IR_GCM_EARLY_BLOCK(b) ((uint32_t)-((int32_t)(b))) argument 41 b = IR_GCM_EARLY_BLOCK(b); in ir_gcm_schedule_early() 124 best = b; in ir_gcm_select_best_block() 189 IR_ASSERT(b > 0 && b <= ctx->cfg_blocks_count); in ir_split_partially_dead_node() 450 b = IR_GCM_EARLY_BLOCK(b); in ir_gcm_schedule_late() 471 lca = !lca ? b : ir_gcm_find_lca(ctx, lca, b); in ir_gcm_schedule_late() 476 lca = !lca ? b : ir_gcm_find_lca(ctx, lca, b); in ir_gcm_schedule_late() 571 for (bb = ctx->cfg_blocks + b; b > 0; bb--, b--) { in ir_gcm() 841 for (b = 1, bb = ctx->cfg_blocks + 1; b <= ctx->cfg_blocks_count; b++, bb++) { in ir_schedule() [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug42945.phpt | 6 var_dump(preg_match_all('/\b/', "a'", $m, PREG_OFFSET_CAPTURE)); 9 var_dump(preg_split('/\b/', "a'")); 10 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_OFFSET_CAPTURE)); 11 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY)); 12 var_dump(preg_split('/\b/', "a'", -1, PREG_SPLIT_NO_EMPTY|PREG_SPLIT_OFFSET_CAPTURE));
|