/php-src/ext/spl/ |
H A D | spl_fixedarray_arginfo.h | 57 ZEND_METHOD(SplFixedArray, __construct); 58 ZEND_METHOD(SplFixedArray, __wakeup); 59 ZEND_METHOD(SplFixedArray, __serialize); 61 ZEND_METHOD(SplFixedArray, count); 62 ZEND_METHOD(SplFixedArray, toArray); 63 ZEND_METHOD(SplFixedArray, fromArray); 64 ZEND_METHOD(SplFixedArray, getSize); 65 ZEND_METHOD(SplFixedArray, setSize); 67 ZEND_METHOD(SplFixedArray, offsetGet); 68 ZEND_METHOD(SplFixedArray, offsetSet); [all …]
|
/php-src/ext/spl/tests/ |
H A D | SplFixedArray_construct_param_SplFixedArray.phpt | 2 Create an SplFixedArray using an SplFixedArray object. 8 $array = new SplFixedArray(new SplFixedArray(3)); 15 Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, SplFixedArray given
|
H A D | SplFixedArray_serialize.phpt | 2 SplFixedArray serialisation 6 $array = new SplFixedArray(5); 31 // __unserialize is a no-op on a non-empty SplFixedArray 32 $array = new SplFixedArray(1); 41 var_dump($s = serialize(new SplFixedArray)); 46 Deprecated: Creation of dynamic property SplFixedArray::$foo is deprecated in %s on line %d 47 O:13:"SplFixedArray":6:{i:0;s:3:"foo";i:1;N;i:2;i:42;i:3;O:8:"stdClass":1:{s:4:"prop";s:5:"value";}… 49 Deprecated: Creation of dynamic property SplFixedArray::$foo is deprecated in %s on line %d 73 object(SplFixedArray)#5 (1) { 77 string(25) "O:13:"SplFixedArray":0:{}" [all …]
|
H A D | fixedarray_010.phpt | 6 $a = new SplFixedArray(0); 7 $a = new SplFixedArray(3); 15 $a = new SplFixedArray(0); 19 $a = new SplFixedArray(10); 23 $a = new SplFixedArray(1); 27 $a = new SplFixedArray(20); 31 $a = new SplFixedArray(3);
|
H A D | fixedarray_021.phpt | 7 $a = new SplFixedArray(); 14 $b = new SplFixedArray(-10); 20 $b = new SplFixedArray(); 28 $c = new SplFixedArray(0); 32 $d = new SplFixedArray(); 40 $e = new SplFixedArray(10); 54 $a = new SplFixedArray(4); 66 SplFixedArray::__construct(): Argument #1 ($size) must be greater than or equal to 0 67 SplFixedArray::setSize(): Argument #1 ($size) must be greater than or equal to 0 71 object(SplFixedArray)#%d (0) {
|
H A D | gh10907.phpt | 6 $array = new SplFixedArray(2); 16 $array = new SplFixedArray(2); 27 $array = new SplFixedArray(3); 53 object(SplFixedArray)#2 (2) { 59 object(SplFixedArray)#1 (2) { 67 object(SplFixedArray)#2 (2) { 74 object(SplFixedArray)#1 (2) { 80 object(SplFixedArray)#2 (2) { 88 object(SplFixedArray)#1 (3) { 97 object(SplFixedArray)#2 (3) { [all …]
|
H A D | SplFixedArray_setSize_destruct.phpt | 2 SplFixedArray::setSize in offsetSet destructor (#81429) 5 $values = new SplFixedArray(1); 25 object(SplFixedArray)#1 (1) { 30 object(SplFixedArray)#1 (0) { 34 object(SplFixedArray)#1 (5) { 48 object(SplFixedArray)#1 (4) {
|
H A D | splfixedarray_json_encode.phpt | 2 json_encode() on SplFixedArray 6 echo json_encode(new SplFixedArray()) . "\n"; 7 echo json_encode(new SplFixedArray(1)) . "\n"; 9 $a = new SplFixedArray(3);
|
H A D | SplFixedArray_get_properties_for.phpt | 2 SplFixedArray - get_properties_for handlers 6 class MySplFixedArray extends SplFixedArray { 16 $array->x = new SplFixedArray(); 20 // (Array elements in the SplFixedArray are deliberately excluded) 29 // is coercing '0' to a string before calling SplFixedArray::__unserialize. 47 object(SplFixedArray)#4 (0) { 55 object(SplFixedArray)#4 (0) { 70 object(SplFixedArray)#4 (0) { 74 O:15:"MySplFixedArray":4:{i:0;O:8:"stdClass":0:{}i:1;O:1:"Y":0:{}s:1:"x";O:13:"SplFixedArray":0:{}s… 83 object(SplFixedArray)#9 (0) {
|
H A D | fixedarray_003.phpt | 2 SPL: SplFixedArray: Non integer offset handling 5 $o = new SplFixedArray(10); 171 Cannot access offset of type array on SplFixedArray 175 Cannot access offset of type string on SplFixedArray 176 Cannot access offset of type string on SplFixedArray 177 Cannot access offset of type string on SplFixedArray 184 Cannot access offset of type array on SplFixedArray 190 Cannot access offset of type string on SplFixedArray 191 Cannot access offset of type string on SplFixedArray 199 Cannot access offset of type array on SplFixedArray [all …]
|
H A D | SplFixedArray_indirect_modification.phpt | 2 SplFixedArray indirect modification notice 5 $a = new SplFixedArray(1); 10 Notice: Indirect modification of overloaded element of SplFixedArray has no effect in %s on line %d 11 object(SplFixedArray)#1 (1) {
|
H A D | SplFixedArray__construct_param_null.phpt | 2 SplFixedArray::__construct() with null passed as parameter. 8 $array = new SplFixedArray( NULL ); 14 Deprecated: SplFixedArray::__construct(): Passing null to parameter #1 ($size) of type int is depre… 15 SplFixedArray Object
|
H A D | SplFixedArray_setSize_param_null.phpt | 2 SplFixedArray::setSize() with a null parameter 7 $fixed_array = new SplFixedArray(2); 12 Deprecated: SplFixedArray::setSize(): Passing null to parameter #1 ($size) of type int is deprecate… 13 object(SplFixedArray)#1 (0) {
|
H A D | bug54970.phpt | 2 Bug #54970 (SplFixedArray::setSize() isn't resizing) 6 $fa = new SplFixedArray(2); 19 object(SplFixedArray)#%d (3) { 27 object(SplFixedArray)#%d (2) {
|
H A D | gh8044.phpt | 2 Bug GH-8044 (var_export/debug_zval_dump HT_ASSERT_RC1 debug failure for SplFixedArray) 6 $x = new SplFixedArray(1); 14 \SplFixedArray::__set_state(array( 17 object(SplFixedArray)#2 (1) refcount(4){
|
H A D | fixedarray_022.phpt | 2 … FixedArray: Bug GH-8044 (var_export/debug_zval_dump HT_ASSERT_RC1 debug failure for SplFixedArray) 6 $x = new SplFixedArray(1); 14 \SplFixedArray::__set_state(array( 17 object(SplFixedArray)#2 (1) refcount(4){
|
H A D | gh16478.phpt | 2 GH-16478: Use-after-free in SplFixedArray::unset() 13 $arr = new SplFixedArray(2); 20 object(SplFixedArray)#1 (0) {
|
H A D | SplFixedArray_fromarray_param_multiarray.phpt | 2 Tries to create a SplFixedArray using the fromArray() function and a multi dimensional array. 7 $array = SplFixedArray::fromArray(array(array('1'))); 11 object(SplFixedArray)#1 (1) {
|
H A D | SplFixedArray_setsize_grow.phpt | 2 SplFixedArray::setSize() grow 10 $array = new SplFixedArray(2); 24 SplFixedArray Object
|
H A D | fixedarray_013.phpt | 6 $a = new SplFixedArray(100); 9 function test(SplFixedArray &$arr) { 21 [] operator not supported for SplFixedArray
|
H A D | SplFixedArray_immediate_gc.phpt | 2 SplFixedArray - values should be gced after var_export then being modified 10 $array = SplFixedArray::fromArray([new HasDestructor()]); 21 object(SplFixedArray)#2 (1) { 29 object(SplFixedArray)#2 (1) {
|
H A D | SplFixedArray_fromarray_non_indexes.phpt | 2 Create a SplFixedArray from an array using the fromArray() function don't try to preserve the index… 7 $array = SplFixedArray::fromArray(array(1 => 1, 14 object(SplFixedArray)#1 (3) {
|
H A D | SplFixedArray__construct_param_array.phpt | 2 SplFixedArray::__construct() with array passed as integer. 9 $array = new SplFixedArray( array("string", 1) ); 16 Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, array given
|
H A D | SplFixedArray__construct_param_string.phpt | 2 SplFixedArray::__construct() with string passed as parameter. 8 $array = new SplFixedArray( "string" ); 16 Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh12382.phpt | 8 function applyMaskPenaltyRule3(SplFixedArray $array) : void 27 $matrix = SplFixedArray::fromArray( 29 fn (array $arr): SplFixedArray => SplFixedArray::fromArray($arr),
|