3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "56s/62b/56b - 42b/45b/26s"; preg_match("/(?<=#).*?(?=#)/", "1232#hello world#", $match); print_r($match) ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1fIo4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $input, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '56s%2F62b%2F56b+-+42b%2F45b%2F26s'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%28%3F%3C%3D%23%29.%2A%3F%28%3F%3D%23%29%2F'
          3        SEND_VAL                                                 '1232%23hello+world%23'
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    5     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.47 ms | 1394 KiB | 17 Q