3v4l.org

run code in 500+ PHP versions simultaneously
<?php fwrite(STDOUT, 'Hello'); ini_set('session.name', 'SID'); fwrite(STDOUT, "\n" . ini_get('session.name'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rJdZo
function name:  (null)
number of ops:  19
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'fwrite'
          1        FETCH_CONSTANT                                       ~0      'STDOUT'
          2        SEND_VAL                                                     ~0
          3        SEND_VAL                                                     'Hello'
          4        DO_ICALL                                                     
    4     5        INIT_FCALL                                                   'ini_set'
          6        SEND_VAL                                                     'session.name'
          7        SEND_VAL                                                     'SID'
          8        DO_ICALL                                                     
    5     9        INIT_FCALL                                                   'fwrite'
         10        FETCH_CONSTANT                                       ~3      'STDOUT'
         11        SEND_VAL                                                     ~3
         12        INIT_FCALL                                                   'ini_get'
         13        SEND_VAL                                                     'session.name'
         14        DO_ICALL                                             $4      
         15        CONCAT                                               ~5      '%0A', $4
         16        SEND_VAL                                                     ~5
         17        DO_ICALL                                                     
         18      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
128.17 ms | 479 KiB | 10 Q