3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'e ,a\\,b\\\\,c\\\\\\,d\\\\'; preg_match_all("/(?<=(INVO[a-z]+\sNO\s))(\d+)\b/i","INVOCE NO 234", $matches); var_dump($matches[0]);
Output for 8.3.0 - 8.3.6
Warning: preg_match_all(): Compilation failed: lookbehind assertion is not fixed length at offset 0 in /in/SO68q on line 3 Warning: Trying to access array offset on null in /in/SO68q on line 4 NULL
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Warning: preg_match_all(): Compilation failed: lookbehind assertion is not fixed length at offset 0 in /in/SO68q on line 3 Warning: Trying to access array offset on value of type null in /in/SO68q on line 4 NULL
Output for 7.4.0 - 7.4.33
Warning: preg_match_all(): Compilation failed: lookbehind assertion is not fixed length at offset 0 in /in/SO68q on line 3 Notice: Trying to access array offset on value of type null in /in/SO68q on line 4 NULL
Output for 7.3.16 - 7.3.33
Warning: preg_match_all(): Compilation failed: lookbehind assertion is not fixed length at offset 0 in /in/SO68q on line 3 NULL
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33
Warning: preg_match_all(): Compilation failed: lookbehind assertion is not fixed length at offset 22 in /in/SO68q on line 3 NULL

preferences:
235.43 ms | 403 KiB | 270 Q