3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("CLI", !isset($_SERVER['HTTP_USER_AGENT'])); ehco(CLI);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ljbeM
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 'CLI'
          2        FETCH_IS                                         ~0      '_SERVER'
          3        ISSET_ISEMPTY_DIM_OBJ                         0  ~1      ~0, 'HTTP_USER_AGENT'
          4        BOOL_NOT                                         ~2      ~1
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                                 
    5     7        INIT_FCALL_BY_NAME                                       'ehco'
          8        FETCH_CONSTANT                                   ~4      'CLI'
          9        SEND_VAL_EX                                              ~4
         10        DO_FCALL                                      0          
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.93 ms | 1394 KiB | 15 Q