Skip to content

Commit

Permalink
Use different fatal error in test
Browse files Browse the repository at this point in the history
This is no longer a fatal error in 7.4...
  • Loading branch information
nikic committed Oct 2, 2019
1 parent 1f98e34 commit 192c7f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/apc_entry_003.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ apc.enable_cli=1
<?php
$value = apcu_entry("test", function($key) {
// Fatal error
class X implements Y {}
class X { use T; }
});
?>
--EXPECTF--
Fatal error: Interface 'Y' not found in %s on line %d
Fatal error: Trait 'T' not found in %s on line %d

0 comments on commit 192c7f0

Please sign in to comment.