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, PREG_PATTERN_ORDER); echo $fields[1]; //print_r($fields);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/35dvG on line 10 Array
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.3.29
Array
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/35dvG on line 11
Process exited with code 255.