3v4l.org

run code in 300+ PHP versions simultaneously
<?php function (╯°□°)╯︵┻━┻(){ throw new ┻━┻; } class ┻━┻ extends Exception { public function __construct() { parent::__construct("Please respect tables! ┬─┬ノ(ಠ_ಠノ)"); } public function __toString() { return "┬─┬";} } // try/catch try { (╯°□°)╯︵┻━┻ (); } catch ( ┻━┻ $niceguy) { echo $niceguy->getMessage(); } // ok now lets see an uncaught one (╯°□°)╯︵┻━┻ (); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Found catch point at position: 4
Branch analysis from position: 4
2 jumps found. (Code = 107) Position 1 = 5, Position 2 = -2
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ogbpg
function name:  (null)
number of ops:  11
compiled vars:  !0 = $niceguy
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   DECLARE_CLASS                                            '%E2%94%BB%E2%94%81%E2%94%BB', 'exception'
   14     1        INIT_FCALL                                               '%EF%BC%88%E2%95%AF%C2%B0%E2%96%A1%C2%B0%EF%BC%89%E2%95%AF%EF%B8%B5%E2%94%BB%E2%94%81%E2%94%BB'
          2        DO_FCALL                                      0          
          3      > JMP                                                      ->8
   15     4  E > > CATCH                                       last         '%E2%94%BB%E2%94%81%E2%94%BB'
   16     5    >   INIT_METHOD_CALL                                         !0, 'getMessage'
          6        DO_FCALL                                      0  $2      
          7        ECHO                                                     $2
   19     8    >   INIT_FCALL                                               '%EF%BC%88%E2%95%AF%C2%B0%E2%96%A1%C2%B0%EF%BC%89%E2%95%AF%EF%B8%B5%E2%94%BB%E2%94%81%E2%94%BB'
          9        DO_FCALL                                      0          
   21    10      > RETURN                                                   1

Function %EF%BC%88%E2%95%AF%C2%B0%E2%96%A1%C2%B0%EF%BC%89%E2%95%AF%EF%B8%B5%E2%94%BB%E2%94%81%E2%94%BB:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/ogbpg
function name:  (╯°□°)╯︵┻━┻
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $0      '%E2%94%BB%E2%94%81%E2%94%BB'
          1        DO_FCALL                                      0          
          2      > THROW                                         0          $0
    4     3*     > RETURN                                                   null

End of function %EF%BC%88%E2%95%AF%C2%B0%E2%96%A1%C2%B0%EF%BC%89%E2%95%AF%EF%B8%B5%E2%94%BB%E2%94%81%E2%94%BB

Class ┻━┻:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ogbpg
function name:  __construct
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   INIT_STATIC_METHOD_CALL                                  
          1        SEND_VAL_EX                                              'Please+respect+tables%21+%E2%94%AC%E2%94%80%E2%94%AC%E3%83%8E%28%E0%B2%A0_%E0%B2%A0%E3%83%8E%29'
          2        DO_FCALL                                      0          
    9     3      > RETURN                                                   null

End of function __construct

Function __tostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ogbpg
function name:  __toString
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E > > RETURN                                                   '%E2%94%AC%E2%94%80%E2%94%AC'
          1*       VERIFY_RETURN_TYPE                                       
          2*     > RETURN                                                   null

End of function __tostring

End of class ┻━┻.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.12 ms | 1403 KiB | 15 Q