3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('session.save_path', '/tmp/'); session_start(); echo "Sessions: ".count(glob('/tmp/sess_*')).PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fLnNI
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'session.save_path'
          2        SEND_VAL                                                     '%2Ftmp%2F'
          3        DO_ICALL                                                     
    3     4        INIT_FCALL                                                   'session_start'
          5        DO_ICALL                                                     
    4     6        INIT_FCALL                                                   'glob'
          7        SEND_VAL                                                     '%2Ftmp%2Fsess_%2A'
          8        DO_ICALL                                             $2      
          9        COUNT                                                ~3      $2
         10        CONCAT                                               ~4      'Sessions%3A+', ~3
         11        CONCAT                                               ~5      ~4, '%0A'
         12        ECHO                                                         ~5
    5    13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
151.21 ms | 2279 KiB | 16 Q