3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); var_dump(ereg('.','php://input',$a)); var_dump($a); ?>
based on LiNCA
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Ftu9
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, <array>
   3     1        INIT_FCALL                                               'var_dump'
         2        INIT_FCALL_BY_NAME                                       'ereg'
         3        SEND_VAL_EX                                              '.'
         4        SEND_VAL_EX                                              'php%3A%2F%2Finput'
         5        SEND_VAR_EX                                              !0
         6        DO_FCALL                                      0  $2      
         7        SEND_VAR                                                 $2
         8        DO_ICALL                                                 
   4     9        INIT_FCALL                                               'var_dump'
        10        SEND_VAR                                                 !0
        11        DO_ICALL                                                 
   5    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0