summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/opt/sccp_exception2.phpt
blob: 9cff2b0dc2be0f9721754dcc7cea801d5cbd7aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Exception thrown during SCCP evaluation, separate file variation
--FILE--
<?php
require __DIR__ . '/sccp_exception2.inc';
?>
--EXPECTF--
Fatal error: Uncaught ValueError: version_compare(): Argument #3 ($operator) must be a valid comparison operator in %s:%d
Stack trace:
#0 %s(%d): version_compare('1.2', '2.1', '??')
#1 %s(%d): require('%s')
#2 {main}
  thrown in %s on line %d