3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2); $b = array(); $r = array_merge($a,$b); var_dump($r); explode("\t" , " "); $x = " "; echo empty(trim($x));
based on X2JTn
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TII2O
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a, !1 = $b, !2 = $r, !3 = $x
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   ASSIGN                                                   !0, <array>
   3     1        ASSIGN                                                   !1, <array>
   4     2        INIT_FCALL                                               'array_merge'
         3        SEND_VAR                                                 !0
         4        SEND_VAR                                                 !1
         5        DO_ICALL                                         $6      
         6        ASSIGN                                                   !2, $6
   5     7        INIT_FCALL                                               'var_dump'
         8        SEND_VAR                                                 !2
         9        DO_ICALL                                                 
   6    10        INIT_FCALL                                               'explode'
        11        SEND_VAL                                                 '%09'
        12        SEND_VAL                                                 '+'
        13        DO_ICALL                                                 
   7    14        ASSIGN                                                   !3, '+'
   8    15        INIT_FCALL                                               'trim'
        16        SEND_VAR                                                 !3
        17        DO_ICALL                                         $11     
        18        BOOL_NOT                                         ~12     $11
        19        ECHO                                                     ~12
        20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0