3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(!defined('STDOUT')) { define('STDOUT', fopen('php://ouput', 'a+')); } $headers = array( 'Name', 'DOB', 'Height', 'Hair Colour', 'Weight', 'Eye Colour' ); fputcsv(STDOUT, $headers, "\t");
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/leSpu
function name:  (null)
number of ops:  19
compiled vars:  !0 = $headers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DEFINED                                          ~1      'STDOUT'
          1        BOOL_NOT                                         ~2      ~1
          2      > JMPZ                                                     ~2, ->11
    4     3    >   INIT_FCALL                                               'define'
          4        SEND_VAL                                                 'STDOUT'
          5        INIT_FCALL                                               'fopen'
          6        SEND_VAL                                                 'php%3A%2F%2Fouput'
          7        SEND_VAL                                                 'a%2B'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
    7    11    >   ASSIGN                                                   !0, <array>
   15    12        INIT_FCALL                                               'fputcsv'
         13        FETCH_CONSTANT                                   ~6      'STDOUT'
         14        SEND_VAL                                                 ~6
         15        SEND_VAR                                                 !0
         16        SEND_VAL                                                 '%09'
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.12 ms | 1395 KiB | 19 Q