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 13$sa = "0 $ 0"; 14var_dump($r2 = assert($sa, "Describing what was asserted")); 15--EXPECTF-- 16Fatal error: Uncaught ParseError: syntax error, unexpected '$', expecting ';' in %s(%d) : assert code:1 17Stack trace: 18#0 %s(%d): assert('0 $ 0', 'Describing what...') 19#1 {main} 20 21Next Error: Failure evaluating code: 22Describing what was asserted:"0 $ 0" in %s:%d 23Stack trace: 24#0 %s(%d): assert('0 $ 0', 'Describing what...') 25#1 {main} 26 thrown in %s on line %d 27