3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Test { function __wakeup() { print "wakeup\n"; } } session_start(); session_decode('core|a:1:{s:23:"_session_validator_data";a:4:{s:11:"remote_addr";s:9:"127.0.0.1";s:8:"http_via";s:0:"";s:20:"http_x_forwarded_for";s:0:"";s:15:"http_user_agent";s:49:"}}}}}O:4:"Test":0:{}'); var_dump($_SESSION);
based on TfRp8
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/MjCH1
function name:  (null)
number of ops:  11
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NOP                                                      
   8     1        INIT_FCALL                                               'session_start'
         2        DO_ICALL                                                 
  10     3        INIT_FCALL                                               'session_decode'
         4        SEND_VAL                                                 'core%7Ca%3A1%3A%7Bs%3A23%3A%22_session_validator_data%22%3Ba%3A4%3A%7Bs%3A11%3A%22remote_addr%22%3Bs%3A9%3A%22127.0.0.1%22%3Bs%3A8%3A%22http_via%22%3Bs%3A0%3A%22%22%3Bs%3A20%3A%22http_x_forwarded_for%22%3Bs%3A0%3A%22%22%3Bs%3A15%3A%22http_user_agent%22%3Bs%3A49%3A%22%7D%7D%7D%7D%7DO%3A4%3A%22Test%22%3A0%3A%7B%7D'
         5        DO_ICALL                                                 
  12     6        INIT_FCALL                                               'var_dump'
         7        FETCH_R                      global              $3      '_SESSION'
         8        SEND_VAR                                                 $3
         9        DO_ICALL                                                 
        10      > RETURN                                                   1

Class Test:
Function __wakeup:
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/MjCH1
function name:  __wakeup
number of ops:  2
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   5     0  E >   ECHO                                                     'wakeup%0A'
         1      > RETURN                                                   null

End of function __wakeup

End of class Test.

Generated using Vulcan Logic Dumper, using php 7.1.0