Home
last modified time | relevance | path

Searched refs:SplFixedArray (Results 1 – 25 of 69) sorted by relevance

123

/PHP-8.0/ext/spl/
H A Dspl_fixedarray_arginfo.h43 ZEND_METHOD(SplFixedArray, __construct);
44 ZEND_METHOD(SplFixedArray, __wakeup);
45 ZEND_METHOD(SplFixedArray, count);
46 ZEND_METHOD(SplFixedArray, toArray);
47 ZEND_METHOD(SplFixedArray, fromArray);
48 ZEND_METHOD(SplFixedArray, getSize);
49 ZEND_METHOD(SplFixedArray, setSize);
51 ZEND_METHOD(SplFixedArray, offsetGet);
52 ZEND_METHOD(SplFixedArray, offsetSet);
53 ZEND_METHOD(SplFixedArray, offsetUnset);
[all …]
/PHP-8.0/ext/spl/tests/
H A DSplFixedArray_construct_param_SplFixedArray.phpt2 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 Dfixedarray_010.phpt6 $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 Dfixedarray_021.phpt7 $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 DSplFixedArray_setSize_destruct.phpt2 SplFixedArray::setSize in offsetSet destructor (#81429)
5 $values = new SplFixedArray(1);
23 object(SplFixedArray)#1 (1) {
27 object(SplFixedArray)#1 (1) {
33 object(SplFixedArray)#1 (5) {
46 object(SplFixedArray)#1 (4) {
H A Dfixedarray_005.phpt7 $a = new SplFixedArray(new stdClass);
13 $a = new SplFixedArray('FOO');
19 $a = new SplFixedArray('');
26 Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, stdClass given
27 Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
28 Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given
H A DSplFixedArray_indirect_modification.phpt2 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 Dbug54970.phpt2 Bug #54970 (SplFixedArray::setSize() isn't resizing)
6 $fa = new SplFixedArray(2);
19 object(SplFixedArray)#%d (3) {
27 object(SplFixedArray)#%d (2) {
H A Dfixedarray_022.phpt2 … 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 DSplFixedArray__construct_param_null.phpt2 SplFixedArray::__construct() with null passed as parameter.
8 $array = new SplFixedArray( NULL );
14 SplFixedArray Object
H A DSplFixedArray_setSize_param_null.phpt2 SplFixedArray::setSize() with a null parameter
7 $fixed_array = new SplFixedArray(2);
12 object(SplFixedArray)#1 (0) {
H A DSplFixedArray_setSize_param_float.phpt2 SplFixedArray::setSize() with a float param
7 $fixed_array = new SplFixedArray(2);
12 object(SplFixedArray)#1 (3) {
H A DSplFixedArray_fromarray_param_multiarray.phpt2 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 DSplFixedArray_setsize_grow.phpt2 SplFixedArray::setSize() grow
10 $array = new SplFixedArray(2);
24 SplFixedArray Object
H A DSplFixedArray_fromarray_non_indexes.phpt2 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 DSplFixedArray__construct_param_string.phpt2 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
H A DSplFixedArray_fromarray_indexes.phpt2 Create a SplFixedArray from an array using the fromArray() function use the default behaviour of pr…
7 $array = SplFixedArray::fromArray(array(1 => 1,
13 object(SplFixedArray)#1 (4) {
H A DSplFixedArray__construct_param_array.phpt2 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 DSplFixedArray_override_getIterator.phpt5 class A extends SplFixedArray
18 echo "==SplFixedArray instance==\n";
19 $a = new SplFixedArray(3);
36 ==SplFixedArray instance==
H A Dfixedarray_020.phpt6 $fa = SplFixedArray::fromArray($a, false);
9 $fa = SplFixedArray::fromArray($a, true);
14 SplFixedArray::fromArray(array("foo"=>"bar"), false);
21 SplFixedArray::fromArray(array("foo"=>"bar"), true);
H A DSplFixedArray_toArray_empty.phpt2 SplFixedArray::toArray with empty array
6 <?php var_dump((new SplFixedArray())->toArray()); ?>
H A DSplFixedArray_offsetExists_integer.phpt2 SplFixedArray::offsetExists with various types
6 <?php var_dump((new SplFixedArray(1))->offsetExists(0.1)); ?>
H A DSplFixedArray__construct_param_float.phpt2 SplFixedArray::__construct() with float passed as parameter.
8 $array = new SplFixedArray( 3.141 );
H A Dfixedarray_023.phpt6 $x = new SplFixedArray(4);
21 SplFixedArray::__set_state(array(
27 object(SplFixedArray)#2 (4) refcount(6){
/PHP-8.0/Zend/tests/
H A Dbug73900.phpt2 Bug #73900: Use After Free in unserialize() SplFixedArray
7 $b = new SplFixedArray(1);

Completed in 26 milliseconds

123