3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Brexit extends Exception{} $disaster = new Brexit('strong and stable'); echo (string) $disaster;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cZhhn
function name:  (null)
number of ops:  7
compiled vars:  !0 = $disaster
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   NEW                                              $1      'Brexit'
          1        SEND_VAL_EX                                              'strong+and+stable'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $1
    7     4        CAST                                          6  ~4      !0
          5        ECHO                                                     ~4
    8     6      > RETURN                                                   1

Class Brexit: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.74 ms | 937 KiB | 14 Q