Skip to content

Commit e0175a9

Browse files
committed
Update: Unit Test to #20632
1 parent e7e12e3 commit e0175a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Zend/tests/type_declarations/scalar_strict.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Testing 'int' type:
6060
int(1)
6161

6262
*** Trying string(1) "1"
63-
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
63+
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d
6464

6565
*** Trying float(1)
6666
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
@@ -69,13 +69,13 @@ int(1)
6969
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, float given, called in %s on line %d
7070

7171
*** Trying string(2) "1a"
72-
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
72+
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d
7373

7474
*** Trying string(1) "a"
75-
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
75+
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, non-numeric string given, called in %s on line %d
7676

7777
*** Trying string(0) ""
78-
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, string given, called in %s on line %d
78+
*** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, empty string given, called in %s on line %d
7979

8080
*** Trying int(2147483647)
8181
int(2147483647)

0 commit comments

Comments
 (0)