3v4l.org

run code in 300+ PHP versions simultaneously
<?php $session_handler = function () {}; session_set_save_handler( array($session_handler, 'open'), array($session_handler, 'close'), array($session_handler, 'read'), array($session_handler, 'write'), array($session_handler, 'destroy'), array($session_handler, 'gc'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aNqHl
function name:  (null)
number of ops:  23
compiled vars:  !0 = $session_handler
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FaNqHl%3A2%240'
          1        ASSIGN                                                   !0, ~1
    3     2        INIT_FCALL                                               'session_set_save_handler'
          3        INIT_ARRAY                                       ~3      !0
          4        ADD_ARRAY_ELEMENT                                ~3      'open'
          5        SEND_VAL                                                 ~3
          6        INIT_ARRAY                                       ~4      !0
          7        ADD_ARRAY_ELEMENT                                ~4      'close'
          8        SEND_VAL                                                 ~4
          9        INIT_ARRAY                                       ~5      !0
         10        ADD_ARRAY_ELEMENT                                ~5      'read'
         11        SEND_VAL                                                 ~5
         12        INIT_ARRAY                                       ~6      !0
         13        ADD_ARRAY_ELEMENT                                ~6      'write'
         14        SEND_VAL                                                 ~6
         15        INIT_ARRAY                                       ~7      !0
         16        ADD_ARRAY_ELEMENT                                ~7      'destroy'
         17        SEND_VAL                                                 ~7
         18        INIT_ARRAY                                       ~8      !0
         19        ADD_ARRAY_ELEMENT                                ~8      'gc'
         20        SEND_VAL                                                 ~8
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FaNqHl%3A2%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aNqHl
function name:  {closure}
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FaNqHl%3A2%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.89 ms | 1395 KiB | 15 Q