3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = '_t('landing', 'asdfasdf adfasd')'; $text .= ' asdfasd _t('landing', 'asdfasdf adf111asd')'; $text .= ' asdfasdfasdf qwerq d fasdf _t('landing page', 'as111dfasdf adfasd')'; $text .= '<a></a> asdfasdf _t('landing', 'asdfasdf 111adfasd')'; preg_match_all("/_t\( *['\"]([a-zA-Z -_]+)['\"] *\, *['\"]([a-zA-Z -_]+)['\"] *\)/gi", $text, $matches); var_dump($matches);
Output for 5.4.0 - 5.4.15
Parse error: syntax error, unexpected 'landing' (T_STRING) in /in/0QLrL on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.25
Parse error: syntax error, unexpected T_STRING in /in/0QLrL on line 2
Process exited with code 255.