3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); preg_match('/(.*)(x)/', 'foox', $m); var_dump($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l8VaC
function name:  (null)
number of ops:  12
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
          3        INIT_FCALL                                               'preg_match'
          4        SEND_VAL                                                 '%2F%28.%2A%29%28x%29%2F'
          5        SEND_VAL                                                 'foox'
          6        SEND_REF                                                 !0
          7        DO_ICALL                                                 
          8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.42 ms | 1394 KiB | 19 Q