Test: /Zend/tests/type_declarations/scalar_strict_basic.phpt - Version 7.2.6    

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
054- *** Caught Argument 1 passed to {closure}() must be of the type float, object given, called in %s on line %d
055-
056- *** Trying resource value
057- *** Caught Argument 1 passed to {closure}() must be of the type float, resource given, called in %s on line %d
058-
059- Testing 'string' type:
060-
061- *** Trying integer value
062- *** Caught Argument 1 passed to {closure}() must be of the type string, integer given, called in %s on line %d
063-
064- *** Trying float value
065- *** Caught Argument 1 passed to {closure}() must be of the type string, float given, called in %s on line %d
066-
067- *** Trying string value
068- string(1) "1"
069-
070- *** Trying true value
071- *** Caught Argument 1 passed to {closure}() must be of the type string, boolean given, called in %s on line %d
072-
073- *** Trying false value
074- *** Caught Argument 1 passed to {closure}() must be of the type string, boolean given, called in %s on line %d
075-
076- *** Trying null value
077- *** Caught Argument 1 passed to {closure}() must be of the type string, null given, called in %s on line %d
078-
079- *** Trying array value
080- *** Caught Argument 1 passed to {closure}() must be of the type string, array given, called in %s on line %d
081-
082- *** Trying object value
083- *** Caught Argument 1 passed to {closure}() must be of the type string, object given, called in %s on line %d
084-
085- *** Trying resource value
086- *** Caught Argument 1 passed to {closure}() must be of the type string, resource given, called in %s on line %d
087-
088- Testing 'bool' type:
089-
090- *** Trying integer value
091- *** Caught Argument 1 passed to {closure}() must be of the type boolean, integer given, called in %s on line %d
092-
093- *** Trying float value
094- *** Caught Argument 1 passed to {closure}() must be of the type boolean, float given, called in %s on line %d
095-
096- *** Trying string value
097- *** Caught Argument 1 passed to {closure}() must be of the type boolean, string given, called in %s on line %d
098-
099- *** Trying true value
100- bool(true)
101-
102- *** Trying false value
103- bool(false)
104-
105- *** Trying null value
106- *** Caught Argument 1 passed to {closure}() must be of the type boolean, null given, called in %s on line %d
107-
108- *** Trying array value
109- *** Caught Argument 1 passed to {closure}() must be of the type boolean, array given, called in %s on line %d
110-
111- *** Trying object value
112- *** Caught Argument 1 passed to {closure}() must be of the type boolean, object given, called in %s on line %d
113-
114- *** Trying resource value
115- *** Caught Argument 1 passed to {closure}() must be of the type boolean, resource given, called in %s on line %d
116-
117- Done
1 (50%)
001+ E_WARNING: fopen(): data:// wrapper is disabled in the server configuration by allow_url_fopen=0 on line 32
002+ E_WARNING: fopen(data:text/plain,foobar): failed to open stream: no suitable wrapper could be found on line 32
003+
027- *** Trying resource value
028- *** Caught Argument 1 passed to {closure}() must be of the type integer, resource given, called in %s on line %d
030+ *** Trying false value
031+ *** Caught Argument 1 passed to {closure}() must be of the type integer, boolean given, called in %s/scalar_strict_basic.php on line 53
056- *** Trying resource value
057- *** Caught Argument 1 passed to {closure}() must be of the type float, resource given, called in %s on line %d
059+ *** Trying false value
060+ *** Caught Argument 1 passed to {closure}() must be of the type float, boolean given, called in %s/scalar_strict_basic.php on line 53
085- *** Trying resource value
086- *** Caught Argument 1 passed to {closure}() must be of the type string, resource given, called in %s on line %d
088+ *** Trying false value
089+ *** Caught Argument 1 passed to {closure}() must be of the type string, boolean given, called in %s/scalar_strict_basic.php on line 53
114- *** Trying resource value
115- *** Caught Argument 1 passed to {closure}() must be of the type boolean, resource given, called in %s on line %d
117+ *** Trying false value
118+ bool(false)