3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $app_filename = "AntivirusSecurity_02_cb-508164-ce_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; $app_filename = "AntivirusSecurity_02_[508164]_ac8a0e5e-35f8-4c7b-b591-7e28cab94b4e.apk"; $click_id_fence_beginning = '\['; $click_id_fence_end = '\]'; preg_match_all("^{$click_id_fence_beginning}(.*?){$click_id_fence_end}^",$app_filename,$fields); echo $fields[1][0]; //print_r($fields);
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
508164
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/oDRap on line 11
Process exited with code 255.