3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = 'string(42) "{"ERROR_MSG":"Invalid path for user raol"}" '; $samplerequesturi = "/variable/12345678910"; preg_match("@^/([A-Za-z]+)/(\d+)$@", $samplerequesturi, $out); var_dump($out);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DUT8H
function name:  (null)
number of ops:  11
compiled vars:  !0 = $response, !1 = $samplerequesturi, !2 = $out
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'string%2842%29+%22%7B%22ERROR_MSG%22%3A%22Invalid+path+for+user+raol%22%7D%22+'
    4     1        ASSIGN                                                   !1, '%2Fvariable%2F12345678910'
    5     2        INIT_FCALL                                               'preg_match'
          3        SEND_VAL                                                 '%40%5E%2F%28%5BA-Za-z%5D%2B%29%2F%28%5Cd%2B%29%24%40'
          4        SEND_VAR                                                 !1
          5        SEND_REF                                                 !2
          6        DO_ICALL                                                 
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.67 ms | 1394 KiB | 17 Q