3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '/(' . preg_quote('"height":"100%"') . ')|(' . preg_quote('jQuery(window).height() - 2') . ')/'; echo $str;

preferences:
49.36 ms | 402 KiB | 5 Q