3v4l.org

run code in 500+ PHP versions simultaneously
<?php $matches = array(); $t = preg_match_all('/{(.*?)\}/s', '{Hello} {my} {name} {is} {Bob}', $matches); echo implode(',',$matches[1]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TINmH
function name:  (null)
number of ops:  11
compiled vars:  !0 = $matches, !1 = $t
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    4     1        INIT_FCALL                                                   'preg_match_all'
          2        SEND_VAL                                                     '%2F%7B%28.%2A%3F%29%5C%7D%2Fs'
          3        SEND_VAL                                                     '%7BHello%7D+%7Bmy%7D+%7Bname%7D+%7Bis%7D+%7BBob%7D'
          4        SEND_REF                                                     !0
          5        DO_ICALL                                             $3      
          6        ASSIGN                                                       !1, $3
    5     7        FETCH_DIM_R                                          ~5      !0, 1
          8        FRAMELESS_ICALL_2                implode             ~6      '%2C', ~5
          9        ECHO                                                         ~6
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
162.12 ms | 1853 KiB | 14 Q