Home
last modified time | relevance | path

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

123

/PHP-7.0/ext/spl/tests/
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 DSplFixedArray_construct_param_SplFixedArray.phpt2 Create an SplFixedArray using an SplFixedArray object.
8 $array = new SplFixedArray(new SplFixedArray(3));
15 Ok - SplFixedArray::__construct() expects parameter 1 to be integer, object given
H A Dfixedarray_005.phpt7 $a = new SplFixedArray(new stdClass);
13 $a = new SplFixedArray('FOO');
19 $a = new SplFixedArray('');
27 Ok - SplFixedArray::__construct() expects parameter 1 to be integer, object given
28 Ok - SplFixedArray::__construct() expects parameter 1 to be integer, string given
29 Ok - SplFixedArray::__construct() expects parameter 1 to be integer, string given
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);
72 object(SplFixedArray)#%d (0) {
H A DSplFixedArray_current_param.phpt2 SplFixedArray::current() with a parameter. *BUG*
8 $array = new SplFixedArray( 3 );
20 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
22 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
24 Warning: SplFixedArray::current() expects exactly 0 parameters, 1 given in %s on line %d
H A DSplFixedArray_setSize_param_array.phpt2 SplFixedArray::setSize() with an array parameter
7 $fixed_array = new SplFixedArray(2);
12 Warning: SplFixedArray::setSize() expects parameter 1 to be integer, array given in %s on line %d
13 object(SplFixedArray)#1 (2) {
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 DSplFixedArray_key_param.phpt2 SplFixedArray::key() with a parameter passed. This is a bug and an error should be called.
8 $array = new SplFixedArray( 3 );
20 Warning: SplFixedArray::key() expects exactly 0 parameters, 1 given in %s on line %d
22 Warning: SplFixedArray::key() expects exactly 0 parameters, 1 given in %s on line %d
24 Warning: SplFixedArray::key() expects exactly 0 parameters, 1 given in %s on line %d
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_param_boolean.phpt2 Tries to create a SplFixedArray using a boolean value.
7 $array = SplFixedArray::fromArray(true);
10 Warning: SplFixedArray::fromArray() expects parameter 1 to be array, boolean given in %s on line %d
H A DSplFixedArray_getSize_pass_param.phpt2 SplFixedArray::getSize() pass a parameter when none are expected
7 $fixed_array = new SplFixedArray(2);
11 Warning: SplFixedArray::getSize() expects exactly 0 parameters, 1 given in %s on line %d
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() expects parameter 1 to be integer, array given
H A DSplFixedArray__construct_param_string.phpt2 SplFixedArray::__construct() with string passed as parameter.
8 $array = new SplFixedArray( "string" );
16 Ok - SplFixedArray::__construct() expects parameter 1 to be integer, %unicode_string_optional% given
H A DSplFixedArray_next_param.phpt2 SplFixedArray::next() with a parameter. *BUG*
8 $array = new SplFixedArray( 4 );
18 Warning: SplFixedArray::next() expects exactly 0 parameters, 1 given in %s on line %d
H A DSplFixedArray_rewind_param.phpt2 SplFixedArray::rewind() with a parameter. *BUG*
8 $array = new SplFixedArray( 4 );
18 Warning: SplFixedArray::rewind() expects exactly 0 parameters, 1 given in %s on line %d
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_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 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__construct_param_float.phpt2 SplFixedArray::__construct() with float passed as parameter.
8 $array = new SplFixedArray( 3.141 );
/PHP-7.0/ext/spl/
H A Dspl_fixedarray.c596 SPL_METHOD(SplFixedArray, __wakeup) in SPL_METHOD() argument
630 SPL_METHOD(SplFixedArray, count) in SPL_METHOD() argument
649 SPL_METHOD(SplFixedArray, toArray) in SPL_METHOD() argument
678 SPL_METHOD(SplFixedArray, fromArray) in SPL_METHOD() argument
748 SPL_METHOD(SplFixedArray, getSize) in SPL_METHOD() argument
767 SPL_METHOD(SplFixedArray, setSize) in SPL_METHOD() argument
949 SPL_METHOD(SplFixedArray, key) in SPL_METHOD() argument
963 SPL_METHOD(SplFixedArray, next) in SPL_METHOD() argument
977 SPL_METHOD(SplFixedArray, valid) in SPL_METHOD() argument
991 SPL_METHOD(SplFixedArray, rewind) in SPL_METHOD() argument
[all …]
/PHP-7.0/Zend/tests/
H A Dbug73900.phpt2 Bug #73900: Use After Free in unserialize() SplFixedArray
7 $b = new SplFixedArray(1);

Completed in 31 milliseconds

123