3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match('/https?.*\/(?<staff>.+?)\.json/', 'https://stg-pos-connect.toreta.in/externals/restaurandsdfs/sd--sft/_staffs/XH1R7UMxkMTuwEciE_8Y8--PNMT0OiSGYCwKrZM0G-E.json', $test); var_dump($test);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vhbrn
function name:  (null)
number of ops:  9
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'preg_match'
          1        SEND_VAL                                                 '%2Fhttps%3F.%2A%5C%2F%28%3F%3Cstaff%3E.%2B%3F%29%5C.json%2F'
          2        SEND_VAL                                                 'https%3A%2F%2Fstg-pos-connect.toreta.in%2Fexternals%2Frestaurandsdfs%2Fsd--sft%2F_staffs%2FXH1R7UMxkMTuwEciE_8Y8--PNMT0OiSGYCwKrZM0G-E.json'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    7     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.76 ms | 1385 KiB | 17 Q