Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make numeric operations on resources, arrays and objects type errors #5331

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix 32-bit tests
  • Loading branch information
nikic committed Apr 30, 2020
commit b2a0b805ee031ad05e6ddc55d342dc19aeae9496
6 changes: 3 additions & 3 deletions Zend/tests/increment_001.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ foreach ($a as $var) {
echo "Done\n";
?>
--EXPECTF--
Cannot decrement array
Cannot increment array
array(3) {
[0]=>
int(1)
Expand All @@ -56,10 +56,10 @@ float(3.5)
int(1)
bool(true)
bool(false)
Cannot decrement object
Cannot increment object
object(stdClass)#%d (0) {
}
Cannot decrement array
Cannot increment array
array(0) {
}
float(2147483648)
Expand Down