3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "a b c"; ereg("\s", " \/ ", $input);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h7iUD
function name:  (null)
number of ops:  7
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a+b+c'
    5     1        INIT_FCALL_BY_NAME                                       'ereg'
          2        SEND_VAL_EX                                              '%5Cs'
          3        SEND_VAL_EX                                              '+%5C%2F+'
          4        SEND_VAR_EX                                              !0
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.97 ms | 1396 KiB | 13 Q