3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Acme\Account; use Acme\Account\User; class User { public static function err($message) { throw new User\Exception\SomeError($message); } } namespace Acme\Account\User\Exception; class SomeError extends \Exception { } \Acme\Account\User::err("Confused Yet?");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5jdha
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_STATIC_METHOD_CALL                                  'Acme%5CAccount%5CUser', 'err'
          1        SEND_VAL                                                 'Confused+Yet%3F'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Class Acme\Account\User:
Function err:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/5jdha
function name:  err
number of ops:  6
compiled vars:  !0 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
    9     1        NEW                                              $1      'Acme%5CAccount%5CUser%5CException%5CSomeError'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4      > THROW                                         0          $1
   10     5*     > RETURN                                                   null

End of function err

End of class Acme\Account\User.

Class Acme\Account\User\Exception\SomeError: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.99 ms | 1393 KiB | 13 Q