3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "' 1"; preg_match_all( '/([\d-]*\')?\s?(\D+)\s(\d+)/', $string, $matches, PREG_SET_ORDER ); print_r($matches);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WsErQ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $string, !1 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%27++1'
    5     1        INIT_FCALL                                               'preg_match_all'
    6     2        SEND_VAL                                                 '%2F%28%5B%5Cd-%5D%2A%27%29%3F%5Cs%3F%28%5CD%2B%29%5Cs%28%5Cd%2B%29%2F'
    7     3        SEND_VAR                                                 !0
    8     4        SEND_REF                                                 !1
    9     5        SEND_VAL                                                 2
    5     6        DO_ICALL                                                 
   12     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
280.38 ms | 1004 KiB | 15 Q