3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '/(' . preg_quote('"height":"100%"') . ')|(' . preg_quote('jQuery(window).height() - 2') . ')/'; echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cd8PG
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_quote'
          1        SEND_VAL                                                 '%22height%22%3A%22100%25%22'
          2        DO_ICALL                                         $1      
          3        CONCAT                                           ~2      '%2F%28', $1
          4        CONCAT                                           ~3      ~2, '%29%7C%28'
          5        INIT_FCALL                                               'preg_quote'
          6        SEND_VAL                                                 'jQuery%28window%29.height%28%29+-+2'
          7        DO_ICALL                                         $4      
          8        CONCAT                                           ~5      ~3, $4
          9        CONCAT                                           ~6      ~5, '%29%2F'
         10        ASSIGN                                                   !0, ~6
    4    11        ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.44 ms | 1398 KiB | 15 Q