1--TEST--
2assert() - basic - Test recoverable error
3--INI--
4assert.active = 1
5assert.warning = 1
6assert.callback = f1
7assert.quiet_eval = 0
8assert.bail = 0
9error_reporting = -1
10display_errors = 1
11--FILE--
12<?php
13var_dump($r2 = assert("0 $ 0"));
14--EXPECTF--
15Deprecated: assert(): Calling assert() with a string argument is deprecated in %s on line %d
16
17Fatal error: Uncaught ParseError: syntax error, unexpected '$', expecting ';' in %s(%d) : assert code:1
18Stack trace:
19#0 %s(%d): assert('0 $ 0')
20#1 {main}
21
22Next Error: Failure evaluating code:
230 $ 0 in %s:%d
24Stack trace:
25#0 %s(%d): assert('0 $ 0')
26#1 {main}
27  thrown in %s on line %d
28