/PHP-8.2/Zend/tests/type_declarations/literal_types/ |
H A D | false_no_coercion.phpt | 6 function test(false $v) { var_dump($v); } 26 test(): Argument #1 ($v) must be of type false, int given, called in %s on line %d 27 test(): Argument #1 ($v) must be of type false, string given, called in %s on line %d 28 test(): Argument #1 ($v) must be of type false, array given, called in %s on line %d
|
H A D | true_no_coercion_on_overload.phpt | 7 public function foo($v): array|bool { 8 return $v; 13 public function foo($v): array|true { 14 return $v;
|
H A D | false_no_coercion_on_overload.phpt | 7 public function foo($v): array|bool { 8 return $v; 13 public function foo($v): array|false { 14 return $v;
|
/PHP-8.2/Zend/tests/type_declarations/dnf_types/ |
H A D | dnf_intersection_and_null.phpt | 16 public function foo1((X&Y)|null $v): (X&Y)|null { 17 var_dump($v); 18 return $v; 20 public function foo2(null|(X&Y) $v): null|(X&Y) { 21 var_dump($v); 22 return $v; 70 Test::foo1(): Argument #1 ($v) must be of type (X&Y)|null, C given, called in %s on line %d 71 Test::foo2(): Argument #1 ($v) must be of type (X&Y)|null, C given, called in %s on line %d
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | bug24980.phpt | 26 function rsum($v, $w) 28 $v += $w; 29 return $v; 31 function rmul($v, $w) 33 $v *= $w; 34 return $v;
|
H A D | bug71660.phpt | 6 foreach ($arr as &$v) { 7 $v = $v;
|
/PHP-8.2/Zend/tests/generators/ |
H A D | yield_by_reference_optimization.phpt | 7 yield $v = 0; 8 yield $v = 1; 11 foreach (gen() as $v) { 12 var_dump($v);
|
/PHP-8.2/ext/dom/tests/ |
H A D | DOMNode_C14N_references.phpt | 31 foreach ($xpath['namespaces'] as $k => &$v); 32 unset($v); 33 foreach ($xpath as $k => &$v); 34 unset($v); 35 foreach ($prefixes as $k => &$v); 36 unset($v);
|
/PHP-8.2/ext/opcache/tests/ |
H A D | bug75357.phpt | 14 foreach ( $value as $k => $v ) { 15 if ( is_array( $v ) ) { 16 $value[$k] = wp_slash( $v ); 18 $value[$k] = addslashes( $v );
|
/PHP-8.2/Zend/tests/ |
H A D | foreach_011.phpt | 6 foreach($a as &$v) { 7 echo "$v\n"; 8 if ($v == 3) {
|
H A D | foreach_013.phpt | 6 foreach($a as &$v) { 7 echo "$v\n"; 8 if ($v == 3) {
|
H A D | foreach_014.phpt | 6 foreach($a as &$v) { 7 echo "$v\n"; 8 if ($v == 2) {
|
H A D | bug67633.phpt | 17 foreach(id($array) as &$v) { 18 $v .= 'q'; 22 foreach(ref_id($array) as &$v) { 23 $v .= 'q';
|
H A D | foreach_012.phpt | 6 foreach($a as &$v) { 7 echo "$v\n"; 8 if ($v == 3) {
|
H A D | closure_006.phpt | 6 $getClosure = function ($v) { 7 return function () use ($v) { 8 echo "Hello World: $v!\n";
|
H A D | foreach_016.phpt | 6 foreach($a as &$v) { 7 echo "$v\n"; 8 if ($v == 2) {
|
/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | getopt_003.phpt | 4 -vvv --v -a value --another value -1111 -2 --12 --0 --0 --1 -v 10 var_dump(getopt("2a:vcd1", array("another:", 12, 0, 1, "v"))); 14 ["v"]=>
|
/PHP-8.2/ext/spl/tests/ |
H A D | iterator_005.phpt | 17 foreach(new IteratorIterator($it) as $v) 19 var_dump($v); 33 foreach(new IteratorIterator($it) as $v) 35 var_dump($v);
|
/PHP-8.2/ext/date/tests/ |
H A D | bug72963.phpt | 18 } catch (ValueError $v) { 19 echo $v->getMessage(), "\n"; 24 } catch (ValueError $v) { 25 echo $v->getMessage(), "\n"; 30 } catch (ValueError $v) { 31 echo $v->getMessage(), "\n";
|
/PHP-8.2/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_value_reflection.phpt | 6 $v = new SensitiveParameterValue('secret'); 8 $r = new ReflectionClass($v); 11 var_dump($p->getValue($v));
|
/PHP-8.2/tests/lang/ |
H A D | foreachLoopObjects.006.phpt | 25 foreach ($obj as $v) { 26 var_dump($v); 27 if ($v==$obj->b) { 42 foreach ($obj as $v) { 43 var_dump($v); 44 if ($v==="Original b") { 59 foreach ($a as $v) { 60 var_dump($v); 61 if ($v===2) {
|
H A D | foreachLoop.011.phpt | 8 foreach ($a as $v) { 9 var_dump($v); 18 foreach ($a as $v) { 19 var_dump($v);
|
/PHP-8.2/ext/dba/ |
H A D | dba_lmdb.c | 134 MDB_val k, v; in DBA_FETCH_FUNC() local 150 rc = mdb_get(LMDB_IT(txn), LMDB_IT(dbi), &k, &v); in DBA_FETCH_FUNC() 159 if (v.mv_data) { in DBA_FETCH_FUNC() 160 ret = zend_string_init(v.mv_data, v.mv_size, /* persistent */ false); in DBA_FETCH_FUNC() 175 MDB_val k, v; in DBA_UPDATE_FUNC() local 185 v.mv_size = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 186 v.mv_data = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 210 MDB_val k, v; in DBA_EXISTS_FUNC() local 225 rc = mdb_get(LMDB_IT(txn), LMDB_IT(dbi), &k, &v); in DBA_EXISTS_FUNC() 277 MDB_val k, v; in DBA_FIRSTKEY_FUNC() local [all …]
|
/PHP-8.2/Zend/tests/type_declarations/ |
H A D | typed_properties_039.phpt | 15 $v = 1; 18 $obj->foo = $v; 19 $v = new A; 21 $obj->foo = $v;
|
/PHP-8.2/scripts/dev/ |
H A D | bless_tests.php | 181 $v = [1 => 0]; 184 $trace[] = $v; 186 if ($k === -$d || ($k !== $d && $v[$k-1] < $v[$k+1])) { 187 $x = $v[$k+1]; 189 $x = $v[$k-1] + 1; 198 $v[$k] = $x; 210 $v = $trace[$d]; 213 if ($k === -$d || ($k !== $d && $v[$k-1] < $v[$k+1])) { 219 $prevX = $v[$prevK];
|