3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = <<<EOF Re: Response to your ticket [TicketID:159] EOF $matches = []; preg_match('/.*\[TicketID:(\d+)\]/', $test, $matches); var_dump($matches);
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected '$matches' (T_VARIABLE) in /in/IgHhu on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/IgHhu on line 7
Process exited with code 255.