3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'https://monicavinader.com/engraving_api/export-link' $re = '/^https?:\/\//'; var_dump(preg_match($re))
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '$re' (T_VARIABLE) in /in/F6Mq0 on line 4
Process exited with code 255.

preferences:
170.88 ms | 1387 KiB | 36 Q