3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = '100x100,fit,q100'; $options = rtrim(preg_replace('/,?q(\d)+/', '', $options), ','); var_dump($options);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bB4MG
function name:  (null)
number of ops:  15
compiled vars:  !0 = $options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '100x100%2Cfit%2Cq100'
    3     1        INIT_FCALL                                               'rtrim'
          2        INIT_FCALL                                               'preg_replace'
          3        SEND_VAL                                                 '%2F%2C%3Fq%28%5Cd%29%2B%2F'
          4        SEND_VAL                                                 ''
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        SEND_VAL                                                 '%2C'
          9        DO_ICALL                                         $3      
         10        ASSIGN                                                   !0, $3
    4    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.76 ms | 1398 KiB | 19 Q