3v4l.org

run code in 500+ PHP versions simultaneously
<?php session_set_save_handler ('sess', 'sess_close', 'sess_read', 'sess', 'sess', 'sess'); session_start (); Function sess ($foo = 'foo') { return true; } Function sess_read ($id) { return ''; } function sess_close() { session_commit(); }

Abusive script

This script was stopped while abusing our resources

Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cj76q
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'session_set_save_handler'
          1        SEND_VAL                                                     'sess'
          2        SEND_VAL                                                     'sess_close'
          3        SEND_VAL                                                     'sess_read'
          4        SEND_VAL                                                     'sess'
          5        SEND_VAL                                                     'sess'
          6        SEND_VAL                                                     'sess'
          7        DO_ICALL                                                     
    5     8        INIT_FCALL                                                   'session_start'
          9        DO_ICALL                                                     
   16    10      > RETURN                                                       1

Function sess:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cj76q
function name:  sess
number of ops:  3
compiled vars:  !0 = $foo
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    7     0  E >   RECV_INIT                                            !0      'foo'
          1      > RETURN                                                       <true>
          2*     > RETURN                                                       null

End of function sess

Function sess_read:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cj76q
function name:  sess_read
number of ops:  3
compiled vars:  !0 = $id
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    9     0  E >   RECV                                                 !0      
   11     1      > RETURN                                                       ''
   12     2*     > RETURN                                                       null

End of function sess_read

Function sess_close:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cj76q
function name:  sess_close
number of ops:  3
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                                   'session_commit'
          1        DO_ICALL                                                     
   16     2      > RETURN                                                       null

End of function sess_close

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
198.16 ms | 6870 KiB | 16 Q