<?php
$res='<span style="font-size: 14px;">You are allowed to view <b>30</b> CVs per day. Today you have watched <b>3</b></span>
<iframe src="https://docs.google.com/viewer?url=http://files.seaemploy.com/resume/5ee9e75861dc2a8d0ddf4a3b5e05044b.doc&module=files&embedded=true" width="100%" height="100%" style="border: none;">
</iframe>';
if(!preg_match('#watched (\d+)#', $res, $match) OR $match[1]>=30) throw new \Exception("Account limit", 2);
Fatal error: Uncaught exception 'Exception' with message 'Account limit' in /in/fBVba:5
Stack trace:
#0 {main}
thrown in /in/fBVba on line 5
Process exited with code 255.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/fBVba on line 5
Fatal error: Uncaught exception 'Exception' with message 'Account limit' in /in/fBVba:5
Stack trace:
#0 {main}
thrown in /in/fBVba on line 5
Process exited with code 255.
Output for 5.0.3 - 5.0.4
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/fBVba on line 5
Fatal error: Uncaught exception 'Exception' with message 'Account limit' in /in/fBVba:5
Stack trace:
#0 /in/fBVba(5): unknown()
#1 {main}
thrown in /in/fBVba on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_NEW in /in/fBVba on line 5
Process exited with code 255.