3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Cake; class Router { protected static $_collection; protected static $_vars; public static function test() { static::$_collection = new \stdClass(); static::$_vars = get_class_vars(get_called_class()); } } Router::test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/npuBU
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_STATIC_METHOD_CALL                                  'Cake%5CRouter', 'test'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Class Cake\Router:
Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/npuBU
function name:  test
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN_STATIC_PROP                                       '_collection'
          3        OP_DATA                                                  $1
    8     4        INIT_NS_FCALL_BY_NAME                                    'Cake%5Cget_class_vars'
          5        INIT_NS_FCALL_BY_NAME                                    'Cake%5Cget_called_class'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR_NO_REF_EX                                       $4
          8        DO_FCALL                                      0  $5      
          9        ASSIGN_STATIC_PROP                                       '_vars'
         10        OP_DATA                                                  $5
    9    11      > RETURN                                                   null

End of function test

End of class Cake\Router.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.93 ms | 1395 KiB | 17 Q