1--TEST-- 2ast\parse_file() on file that does not exist 3--FILE-- 4<?php 5 6try { 7 ast\parse_file(__DIR__ . '/non_existing_file.php', $version=70); 8} catch (RuntimeException $e) { 9 echo $e, "\n"; 10} 11 12?> 13--EXPECTF-- 14RuntimeException: ast\parse_file(%stests/non_existing_file.php): %sailed to open stream: No such file or directory in %s:%d 15Stack trace: 16#0 %s(%d): ast\parse_file('%s', %d) 17#1 {main} 18