3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( preg_match('/(.*)\?.*/', '/tmp/vb/12342523465346.jpg?u=w3544w5a_dsfsd&sdsg=24353453', $matches), $matches );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AoGSW
function name:  (null)
number of ops:  10
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%28.%2A%29%5C%3F.%2A%2F'
          3        SEND_VAL                                                 '%2Ftmp%2Fvb%2F12342523465346.jpg%3Fu%3Dw3544w5a_dsfsd%26sdsg%3D24353453'
          4        SEND_REF                                                 !0
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
    5     7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
    6     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.38 ms | 1394 KiB | 17 Q