3v4l.org

run code in 500+ PHP versions simultaneously
<?php $expression = '-1*(2/(3+4)--10*-110.5/0.009+-.1)'; var_export(preg_split('~(-?\d*(?:\.\d+)?|[()*/+-])~', $expression, 0, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vlcsJ
function name:  (null)
number of ops:  11
compiled vars:  !0 = $expression
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '-1%2A%282%2F%283%2B4%29--10%2A-110.5%2F0.009%2B-.1%29'
    5     1        INIT_FCALL                                                   'var_export'
          2        INIT_FCALL                                                   'preg_split'
          3        SEND_VAL                                                     '%7E%28-%3F%5Cd%2A%28%3F%3A%5C.%5Cd%2B%29%3F%7C%5B%28%29%2A%2F%2B-%5D%29%7E'
          4        SEND_VAR                                                     !0
          5        SEND_VAL                                                     0
          6        SEND_VAL                                                     3
          7        DO_ICALL                                             $2      
          8        SEND_VAR                                                     $2
          9        DO_ICALL                                                     
         10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
233.33 ms | 2083 KiB | 15 Q