3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "56s/62b/56b - 42b/45b/26s"; $input = "#/56s/62b/56b - 42b/45b/26s"; // preg_match("/(?<=#).*?(?=#)/", "1232#hello world#", $match); // preg_match("/(?<=\/).*?(?=#)/", "1232#/hello world#", $match); preg_match("/(?<=\/).*?(?=\/)/", $input, $match); print_r($match) // preg_match("/^.+?\](.+)$/is" , $string_text, $match); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vRg0e
function name:  (null)
number of ops:  11
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        ASSIGN                                                   !0, '%23%2F56s%2F62b%2F56b+-+42b%2F45b%2F26s'
    6     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%2F%28%3F%3C%3D%5C%2F%29.%2A%3F%28%3F%3D%5C%2F%29%2F'
          4        SEND_VAR                                                 !0
          5        SEND_REF                                                 !1
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
   10    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.65 ms | 1394 KiB | 17 Q