3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = explode('.',array()); print_r(count($array)); var_dump($array);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/pfFA2
function name:  (null)
number of ops:  15
compiled vars:  !0 = $array
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'explode'
         1        SEND_VAL                                                 '.'
         2        SEND_VAL                                                 <array>
         3        DO_ICALL                                         $1      
         4        ASSIGN                                                   !0, $1
   3     5        INIT_FCALL                                               'print_r'
         6        INIT_FCALL                                               'count'
         7        SEND_VAR                                                 !0
         8        DO_ICALL                                         $3      
         9        SEND_VAR                                                 $3
        10        DO_ICALL                                                 
   4    11        INIT_FCALL                                               'var_dump'
        12        SEND_VAR                                                 !0
        13        DO_ICALL                                                 
        14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0