Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
Zend /
tests /
type_declarations /
Delete
Unzip
Name
Size
Permission
Date
Action
variance
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
add_return_type.phpt
386
B
-rw-rw-r--
2022-10-31 11:36
array_001.phpt
353
B
-rw-rw-r--
2022-10-31 11:36
callable_001.phpt
577
B
-rw-rw-r--
2022-10-31 11:36
callable_002.phpt
501
B
-rw-rw-r--
2022-10-31 11:36
callable_003.phpt
291
B
-rw-rw-r--
2022-10-31 11:36
closure_with_variadic.phpt
201
B
-rw-rw-r--
2022-10-31 11:36
default_boolean_hint_values.phpt
189
B
-rw-rw-r--
2022-10-31 11:36
explicit_weak_include_strict.phpt
594
B
-rw-rw-r--
2022-10-31 11:36
inexistent_class_hint_with_scalar_arg.phpt
343
B
-rw-rw-r--
2022-10-31 11:36
internal_function_strict_mode.phpt
937
B
-rw-rw-r--
2022-10-31 11:36
iterable_001.phpt
644
B
-rw-rw-r--
2022-10-31 11:36
iterable_002.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
iterable_003.phpt
424
B
-rw-rw-r--
2022-10-31 11:36
iterable_004.phpt
536
B
-rw-rw-r--
2022-10-31 11:36
iterable_005.phpt
577
B
-rw-rw-r--
2022-10-31 11:36
nullable_null.phpt
115
B
-rw-rw-r--
2022-10-31 11:36
nullable_typed_return_without_value.phpt
290
B
-rw-rw-r--
2022-10-31 11:36
nullable_void.phpt
152
B
-rw-rw-r--
2022-10-31 11:36
parameter_type_variance.phpt
1003
B
-rw-rw-r--
2022-10-31 11:36
parent_is_not_proto.phpt
237
B
-rw-rw-r--
2022-10-31 11:36
return_separation.phpt
360
B
-rw-rw-r--
2022-10-31 11:36
scalar_basic.phpt
6.03
KB
-rw-rw-r--
2022-10-31 11:36
scalar_constant_defaults.phpt
1.59
KB
-rw-rw-r--
2022-10-31 11:36
scalar_constant_defaults_error.phpt
422
B
-rw-rw-r--
2022-10-31 11:36
scalar_float_with_integer_default_strict.phpt
207
B
-rw-rw-r--
2022-10-31 11:36
scalar_float_with_integer_default_weak.phpt
158
B
-rw-rw-r--
2022-10-31 11:36
scalar_float_with_invalid_default.phpt
273
B
-rw-rw-r--
2022-10-31 11:36
scalar_none.phpt
1.35
KB
-rw-rw-r--
2022-10-31 11:36
scalar_null.phpt
1.36
KB
-rw-rw-r--
2022-10-31 11:36
scalar_relative_typehint_disallowed.phpt
218
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved2.phpt
201
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved2_class_alias.phpt
248
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved2_use.phpt
227
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved3.phpt
205
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved3_class_alias.phpt
252
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved3_use.phpt
233
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved4.phpt
207
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved4_class_alias.phpt
254
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved4_use.phpt
236
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved6.phpt
203
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved6_class_alias.phpt
250
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved6_use.phpt
230
B
-rw-rw-r--
2022-10-31 11:36
scalar_reserved7.phpt
216
B
-rw-rw-r--
2022-10-31 11:36
scalar_return_basic.phpt
5.92
KB
-rw-rw-r--
2022-10-31 11:36
scalar_return_basic_64bit.phpt
5.98
KB
-rw-rw-r--
2022-10-31 11:36
scalar_strict.phpt
8.35
KB
-rw-rw-r--
2022-10-31 11:36
scalar_strict_64bit.phpt
8.41
KB
-rw-rw-r--
2022-10-31 11:36
scalar_strict_basic.phpt
5.27
KB
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_001.phpt
440
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_002.phpt
265
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_003.phpt
247
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_004.phpt
253
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_005.phpt
169
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_006.phpt
456
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_007.phpt
461
B
-rw-rw-r--
2022-10-31 11:36
scalar_strict_declaration_placement_008.phpt
219
B
-rw-rw-r--
2022-10-31 11:36
scalar_weak_reference.phpt
470
B
-rw-rw-r--
2022-10-31 11:36
self_on_closure_in_method.phpt
249
B
-rw-rw-r--
2022-10-31 11:36
strict_call_weak.phpt
700
B
-rw-rw-r--
2022-10-31 11:36
strict_call_weak_2.inc
105
B
-rw-rw-r--
2022-10-31 11:36
strict_call_weak_explicit.phpt
747
B
-rw-rw-r--
2022-10-31 11:36
strict_call_weak_explicit_2.inc
106
B
-rw-rw-r--
2022-10-31 11:36
strict_include_explicit_weak.phpt
296
B
-rw-rw-r--
2022-10-31 11:36
strict_include_explicit_weak_2.inc
127
B
-rw-rw-r--
2022-10-31 11:36
strict_include_weak.phpt
275
B
-rw-rw-r--
2022-10-31 11:36
strict_include_weak_2.inc
126
B
-rw-rw-r--
2022-10-31 11:36
strict_nested.phpt
946
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_001.phpt
778
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_002.phpt
331
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_003.phpt
350
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_004.phpt
462
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_005.phpt
461
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_006.phpt
239
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_007.phpt
291
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_008.phpt
238
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_009.phpt
343
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_010.phpt
209
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_011.phpt
225
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_012.phpt
248
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_013.phpt
235
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_014.phpt
237
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_015.phpt
303
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_016.phpt
447
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_017.phpt
197
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_018.phpt
281
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_019.phpt
383
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_020.phpt
448
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_021.phpt
239
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_022.phpt
260
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_023.phpt
722
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_024.phpt
218
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_025.phpt
262
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_026.phpt
417
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_027.phpt
189
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_028.phpt
182
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_029.phpt
318
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_030.phpt
429
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_031.phpt
305
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_032.phpt
216
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_033.phpt
650
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_034.phpt
857
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_035.phpt
263
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_036.phpt
241
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_037.phpt
239
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_038.phpt
1.05
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_039.phpt
493
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_040.phpt
421
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_041.phpt
189
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_042.phpt
254
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_043.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_044.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_045.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_046.phpt
594
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_047.phpt
584
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_048.phpt
236
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_049.phpt
243
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_050.phpt
228
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_051.phpt
360
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_052.phpt
483
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_053.phpt
208
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_054.phpt
228
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_055.phpt
479
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_056.phpt
361
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_057.phpt
550
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_058.phpt
475
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_059.phpt
354
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_060.phpt
338
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_061.phpt
710
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_062.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_063.phpt
1.51
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_064.phpt
1.56
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_065.phpt
1.44
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_066.phpt
315
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_067.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_068.phpt
1.61
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_069.phpt
547
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_070.phpt
789
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_071.phpt
460
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_072.phpt
315
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_073.phpt
624
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_074.phpt
679
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_075.phpt
998
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_076.phpt
1.92
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_077.phpt
277
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_078.phpt
1.19
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_079.phpt
594
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_080.phpt
812
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_081.phpt
362
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_082.phpt
496
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_083.phpt
1.79
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_084.phpt
277
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_085.phpt
376
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_086.phpt
404
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_087.phpt
192
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_088.phpt
348
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_089.phpt
502
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_090.phpt
332
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_091.phpt
4.3
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_092.phpt
545
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_093.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_094.phpt
449
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_095.phpt
1.75
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_096.phpt
714
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_097.phpt
2.08
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_098.phpt
234
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_099.phpt
276
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_100.phpt
276
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_101.phpt
680
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_102.phpt
464
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_103.phpt
316
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_104.phpt
242
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_105.phpt
315
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_106.phpt
528
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_107.phpt
402
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_108.phpt
872
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_cache_slot_opt.phpt
614
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_class_loading.phpt
806
B
-rw-rw-r--
2022-10-31 11:36
typed_properties_magic_set.phpt
1.4
KB
-rw-rw-r--
2022-10-31 11:36
typed_properties_protected_inheritance_mismatch.phpt
240
B
-rw-rw-r--
2022-10-31 11:36
typed_return_without_value.phpt
222
B
-rw-rw-r--
2022-10-31 11:36
types_in_ast.phpt
470
B
-rw-rw-r--
2022-10-31 11:36
weak_call_strict.phpt
385
B
-rw-rw-r--
2022-10-31 11:36
weak_call_strict_2.inc
108
B
-rw-rw-r--
2022-10-31 11:36
weak_explicit_call_strict.phpt
392
B
-rw-rw-r--
2022-10-31 11:36
weak_include_strict.phpt
582
B
-rw-rw-r--
2022-10-31 11:36
weak_include_strict_2.inc
126
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Scalar type strict mode --SKIPIF-- <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?> --FILE-- <?php declare(strict_types=1); $functions = [ 'int' => function (int $i) { return $i; }, 'float' => function (float $f) { return $f; }, 'string' => function (string $s) { return $s; }, 'bool' => function (bool $b) { return $b; } ]; class Stringable { public function __toString() { return "foobar"; } } $values = [ 1, "1", 1.0, 1.5, "1a", "a", "", PHP_INT_MAX, NAN, TRUE, FALSE, NULL, [], new StdClass, new Stringable, fopen("data:text/plain,foobar", "r") ]; foreach ($functions as $type => $function) { echo PHP_EOL, "Testing '$type' type:", PHP_EOL; foreach ($values as $value) { echo PHP_EOL . "*** Trying "; var_dump($value); try { var_dump($function($value)); } catch (TypeError $e) { echo "*** Caught " . $e->getMessage() . PHP_EOL; } } } echo PHP_EOL . "Done"; ?> --EXPECTF-- Testing 'int' type: *** Trying int(1) int(1) *** Trying string(1) "1" *** Caught Argument 1 passed to {closure}() must be of the type int, string given, called in %s on line %d *** Trying float(1) *** Caught Argument 1 passed to {closure}() must be of the type int, float given, called in %s on line %d *** Trying float(1.5) *** Caught Argument 1 passed to {closure}() must be of the type int, float given, called in %s on line %d *** Trying string(2) "1a" *** Caught Argument 1 passed to {closure}() must be of the type int, string given, called in %s on line %d *** Trying string(1) "a" *** Caught Argument 1 passed to {closure}() must be of the type int, string given, called in %s on line %d *** Trying string(0) "" *** Caught Argument 1 passed to {closure}() must be of the type int, string given, called in %s on line %d *** Trying int(2147483647) int(2147483647) *** Trying float(NAN) *** Caught Argument 1 passed to {closure}() must be of the type int, float given, called in %s on line %d *** Trying bool(true) *** Caught Argument 1 passed to {closure}() must be of the type int, bool given, called in %s on line %d *** Trying bool(false) *** Caught Argument 1 passed to {closure}() must be of the type int, bool given, called in %s on line %d *** Trying NULL *** Caught Argument 1 passed to {closure}() must be of the type int, null given, called in %s on line %d *** Trying array(0) { } *** Caught Argument 1 passed to {closure}() must be of the type int, array given, called in %s on line %d *** Trying object(stdClass)#5 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type int, object given, called in %s on line %d *** Trying object(Stringable)#6 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type int, object given, called in %s on line %d *** Trying resource(5) of type (stream) *** Caught Argument 1 passed to {closure}() must be of the type int, resource given, called in %s on line %d Testing 'float' type: *** Trying int(1) float(1) *** Trying string(1) "1" *** Caught Argument 1 passed to {closure}() must be of the type float, string given, called in %s on line %d *** Trying float(1) float(1) *** Trying float(1.5) float(1.5) *** Trying string(2) "1a" *** Caught Argument 1 passed to {closure}() must be of the type float, string given, called in %s on line %d *** Trying string(1) "a" *** Caught Argument 1 passed to {closure}() must be of the type float, string given, called in %s on line %d *** Trying string(0) "" *** Caught Argument 1 passed to {closure}() must be of the type float, string given, called in %s on line %d *** Trying int(2147483647) float(2147483647) *** Trying float(NAN) float(NAN) *** Trying bool(true) *** Caught Argument 1 passed to {closure}() must be of the type float, bool given, called in %s on line %d *** Trying bool(false) *** Caught Argument 1 passed to {closure}() must be of the type float, bool given, called in %s on line %d *** Trying NULL *** Caught Argument 1 passed to {closure}() must be of the type float, null given, called in %s on line %d *** Trying array(0) { } *** Caught Argument 1 passed to {closure}() must be of the type float, array given, called in %s on line %d *** Trying object(stdClass)#5 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type float, object given, called in %s on line %d *** Trying object(Stringable)#6 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type float, object given, called in %s on line %d *** Trying resource(5) of type (stream) *** Caught Argument 1 passed to {closure}() must be of the type float, resource given, called in %s on line %d Testing 'string' type: *** Trying int(1) *** Caught Argument 1 passed to {closure}() must be of the type string, int given, called in %s on line %d *** Trying string(1) "1" string(1) "1" *** Trying float(1) *** Caught Argument 1 passed to {closure}() must be of the type string, float given, called in %s on line %d *** Trying float(1.5) *** Caught Argument 1 passed to {closure}() must be of the type string, float given, called in %s on line %d *** Trying string(2) "1a" string(2) "1a" *** Trying string(1) "a" string(1) "a" *** Trying string(0) "" string(0) "" *** Trying int(2147483647) *** Caught Argument 1 passed to {closure}() must be of the type string, int given, called in %s on line %d *** Trying float(NAN) *** Caught Argument 1 passed to {closure}() must be of the type string, float given, called in %s on line %d *** Trying bool(true) *** Caught Argument 1 passed to {closure}() must be of the type string, bool given, called in %s on line %d *** Trying bool(false) *** Caught Argument 1 passed to {closure}() must be of the type string, bool given, called in %s on line %d *** Trying NULL *** Caught Argument 1 passed to {closure}() must be of the type string, null given, called in %s on line %d *** Trying array(0) { } *** Caught Argument 1 passed to {closure}() must be of the type string, array given, called in %s on line %d *** Trying object(stdClass)#5 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type string, object given, called in %s on line %d *** Trying object(Stringable)#6 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type string, object given, called in %s on line %d *** Trying resource(5) of type (stream) *** Caught Argument 1 passed to {closure}() must be of the type string, resource given, called in %s on line %d Testing 'bool' type: *** Trying int(1) *** Caught Argument 1 passed to {closure}() must be of the type bool, int given, called in %s on line %d *** Trying string(1) "1" *** Caught Argument 1 passed to {closure}() must be of the type bool, string given, called in %s on line %d *** Trying float(1) *** Caught Argument 1 passed to {closure}() must be of the type bool, float given, called in %s on line %d *** Trying float(1.5) *** Caught Argument 1 passed to {closure}() must be of the type bool, float given, called in %s on line %d *** Trying string(2) "1a" *** Caught Argument 1 passed to {closure}() must be of the type bool, string given, called in %s on line %d *** Trying string(1) "a" *** Caught Argument 1 passed to {closure}() must be of the type bool, string given, called in %s on line %d *** Trying string(0) "" *** Caught Argument 1 passed to {closure}() must be of the type bool, string given, called in %s on line %d *** Trying int(2147483647) *** Caught Argument 1 passed to {closure}() must be of the type bool, int given, called in %s on line %d *** Trying float(NAN) *** Caught Argument 1 passed to {closure}() must be of the type bool, float given, called in %s on line %d *** Trying bool(true) bool(true) *** Trying bool(false) bool(false) *** Trying NULL *** Caught Argument 1 passed to {closure}() must be of the type bool, null given, called in %s on line %d *** Trying array(0) { } *** Caught Argument 1 passed to {closure}() must be of the type bool, array given, called in %s on line %d *** Trying object(stdClass)#5 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type bool, object given, called in %s on line %d *** Trying object(Stringable)#6 (0) { } *** Caught Argument 1 passed to {closure}() must be of the type bool, object given, called in %s on line %d *** Trying resource(5) of type (stream) *** Caught Argument 1 passed to {closure}() must be of the type bool, resource given, called in %s on line %d Done