Lines Matching refs:sizeof
2 Test sizeof() function : object functionality - objects without Countable interface
5 echo "*** Testing sizeof() : object functionality ***\n";
7 echo "--- Testing sizeof() with objects which doesn't implement Countable interface ---\n";
78 var_dump( sizeof($var) );
85 var_dump( sizeof($var, COUNT_NORMAL) );
92 var_dump( sizeof($var, COUNT_RECURSIVE) );
103 *** Testing sizeof() : object functionality ***
104 --- Testing sizeof() with objects which doesn't implement Countable interface ---
106 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
107 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
108 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test given
110 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
111 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
112 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test1 given
114 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
115 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
116 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, test2 given
118 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, child_test2 given
119 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, child_test2 given
120 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, child_test2 g…
122 Default Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, concrete_class given
123 COUNT_NORMAL Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, concrete_class g…
124 COUNT_RECURSIVE Mode: sizeof(): Argument #1 ($value) must be of type Countable|array, concrete_clas…