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 (!empty($fields[1][0])) ? $fields[1][0] : 'no click id found'; //print_r($fields);
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
no click id found
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/N4dW7 on line 11
Process exited with code 255.