/PHP-8.4/Zend/tests/offsets/ |
H A D | test_variable_offsets.inc | 8 var_dump($container[$dimension]); 15 $container[$dimension] = 5; 29 $container[$dimension] += 20; 55 $r = &$container[$dimension]; 74 var_dump($container[$dimension][$dimension]); 81 $container[$dimension][$dimension] = 5; 88 $container[$dimension][$dimension] += 25; 95 var_dump(isset($container[$dimension][$dimension])); 101 var_dump(empty($container[$dimension][$dimension])); 107 var_dump($container[$dimension][$dimension] ?? 'default'); [all …]
|
H A D | ArrayAccess_container_offset_behaviour.phpt | 43 Reference to dimension: 50 Value of container dimension after write to reference (should be int(100) if successful): 104 foreach ($offsets as $dimension) { 106 … $error = "(new $class())[" . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 108 var_dump($dimension); 135 $dimension = &$offset; 137 … $error = "(new $class())[&" . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 139 var_dump($dimension);
|
H A D | invalid_container_offset_behaviour.phpt | 39 Reference to dimension: 64 foreach ($offsets as $dimension) { 65 …$error = $containerStr . '[' . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 85 $dimension = &$offset; 86 …$error = $containerStr . '[&' . zend_test_var_export($dimension) . '] has different outputs' . "\n…
|
H A D | object_container_offset_behaviour.phpt | 23 Reference to dimension: 45 foreach ($offsets as $dimension) { 47 …$error = '(new stdClass())[' . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 67 $dimension = &$offset;
|
H A D | ArrayObject_container_offset_behaviour.phpt | 23 Reference to dimension: 26 Value of container dimension after write to reference (should be int(100) if successful): 77 Reference to dimension: 82 Value of container dimension after write to reference (should be int(100) if successful): 150 Reference to dimension: 194 Reference to dimension: 249 Reference to dimension: 306 foreach ($offsets as $dimension) { 310 var_dump($dimension); 337 $dimension = &$offset; [all …]
|
H A D | array_container_offset_behaviour.phpt | 23 Reference to dimension: 26 Value of container dimension after write to reference (should be int(100) if successful): 77 Reference to dimension: 82 Value of container dimension after write to reference (should be int(100) if successful): 150 Reference to dimension: 202 Reference to dimension: 207 Value of container dimension after write to reference (should be int(100) if successful): 259 foreach ($offsets as $dimension) { 261 $error = '[][' . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 286 $dimension = &$offset; [all …]
|
H A D | false_container_offset_behaviour.phpt | 25 Reference to dimension: 28 Value of container dimension after write to reference (should be int(100) if successful): 80 Reference to dimension: 85 Value of container dimension after write to reference (should be int(100) if successful): 157 Reference to dimension: 209 Reference to dimension: 214 Value of container dimension after write to reference (should be int(100) if successful): 266 foreach ($offsets as $dimension) { 268 $error = 'false[' . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 293 $dimension = &$offset; [all …]
|
H A D | null_container_offset_behaviour.phpt | 23 Reference to dimension: 26 Value of container dimension after write to reference (should be int(100) if successful): 76 Reference to dimension: 81 Value of container dimension after write to reference (should be int(100) if successful): 151 Reference to dimension: 201 Reference to dimension: 206 Value of container dimension after write to reference (should be int(100) if successful): 258 foreach ($offsets as $dimension) { 260 $error = 'null[' . zend_test_var_export($dimension) . '] has different outputs' . "\n"; 285 $dimension = &$offset;
|
H A D | runtime_compile_time_offset_access.phpt | 19 $fileContent = str_replace('$dimension', $offset_p, $fileContent); 48 $dimension = $offset;
|
H A D | string_container_offset_behaviour.phpt | 24 Reference to dimension: 69 Reference to dimension: 120 Reference to dimension: 181 Reference to dimension: 244 Reference to dimension: 315 Reference to dimension: 382 Reference to dimension: 436 Reference to dimension: 474 Reference to dimension: 521 Reference to dimension: [all …]
|
/PHP-8.4/ext/opcache/tests/jit/ |
H A D | gh12723-A.phpt | 10 $dimension = []; 13 var_dump($container[$dimension]);
|
H A D | gh12812.phpt | 10 $dimension = '7'; 18 var_dump($container[$dimension]);
|
/PHP-8.4/ext/dom/tests/modern/html/interactions/ |
H A D | HTMLCollection_named_reads.phpt | 2 HTMLCollection::namedItem() and dimension handling for named accesses 32 // Search to check for dimension access consistency 40 throw new Error('inconsistency in dimension access');
|
H A D | HTMLCollection_dimension_errors.phpt | 2 HTMLCollection::namedItem() and dimension handling for named accesses
|
/PHP-8.4/Zend/tests/ |
H A D | constant_expressions_coalesce_empty_dim.phpt | 2 Constant expressions with empty dimension fetch on coalesce
|
H A D | offset_object.phpt | 2 accessing object dimension
|
/PHP-8.4/Zend/tests/varSyntax/ |
H A D | tempDimFetchByRefError.phpt | 2 Passing a dimension fetch on a temporary by reference is not allowed
|
/PHP-8.4/ext/date/tests/ |
H A D | date_interval_prop_dim.phpt | 2 Test DateInterval props with dimension handling
|
/PHP-8.4/ext/spl/tests/ |
H A D | iterator_035.phpt | 17 Fatal error: Uncaught Error: Cannot assign by reference to an array dimension of an object in %s:%d
|
H A D | arrayObject_setFlags_basic2.phpt | 2 SPL: Ensure access to non-visible properties falls back to dimension access with ArrayObject::ARRAY…
|
/PHP-8.4/ext/soap/ |
H A D | php_encoding.c | 2164 if (dimension == 1) { in add_xml_array_elements() 2185 if (dimension == 1) { in add_xml_array_elements() 2211 if (dimension == 1) { in add_xml_array_elements() 2239 int dimension = 1; in to_xml_array() local 2371 for (i=1; i<dimension; i++) { in to_xml_array() 2399 for (i=1; i<dimension; i++) { in to_xml_array() 2419 for (i=1; i<dimension; i++) { in to_xml_array() 2511 int dimension = 1; in to_zval_array() local 2638 dimension = 1; in to_zval_array() 2676 while (i < dimension-1) { in to_zval_array() [all …]
|
/PHP-8.4/tests/classes/ |
H A D | array_access_012.phpt | 34 Fatal error: Uncaught Error: Cannot assign by reference to an array dimension of an object in %sarr…
|
/PHP-8.4/Zend/tests/type_declarations/ |
H A D | typed_properties_065.phpt | 2 Typed property on by-ref array dimension
|
/PHP-8.4/ext/dom/lexbor/lexbor/css/syntax/ |
H A D | state.c | 1796 goto dimension; in lxb_css_syntax_state_decimal() 1802 goto dimension; in lxb_css_syntax_state_decimal() 1867 dimension: in lxb_css_syntax_state_decimal() 1922 goto dimension; in lxb_css_syntax_state_consume_numeric_name_start() 1958 goto dimension; in lxb_css_syntax_state_consume_numeric_name_start() 1996 goto dimension; in lxb_css_syntax_state_consume_numeric_name_start() 2016 dimension: in lxb_css_syntax_state_consume_numeric_name_start()
|
H A D | token.h | 173 lxb_css_syntax_token_dimension_t dimension; member
|