3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "<esam >Hello</mase>"; $p = "/<.*?>/x"; $m = []; var_dump(1 <=> $m); preg_match($p, $s, $m); print_r($m);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9SotD
function name:  (null)
number of ops:  16
compiled vars:  !0 = $s, !1 = $p, !2 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cesam+%3EHello%3C%2Fmase%3E'
    4     1        ASSIGN                                                   !1, '%2F%3C.%2A%3F%3E%2Fx'
    5     2        ASSIGN                                                   !2, <array>
    6     3        INIT_FCALL                                               'var_dump'
          4        SPACESHIP                                        ~6      1, !2
          5        SEND_VAL                                                 ~6
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'preg_match'
          8        SEND_VAR                                                 !1
          9        SEND_VAR                                                 !0
         10        SEND_REF                                                 !2
         11        DO_ICALL                                                 
    9    12        INIT_FCALL                                               'print_r'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.01 ms | 1394 KiB | 19 Q