3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function reverseString(string $text): string { throw new BadFunctionCallException("Please implement the reverseString method!"); } reverseString('123');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sc0mq
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   INIT_FCALL                                               'reversestring'
          1        SEND_VAL                                                 '123'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function reversestring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 108) Position 1 = -2
filename:       /in/sc0mq
function name:  reverseString
number of ops:  7
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        NEW                                              $1      'BadFunctionCallException'
          2        SEND_VAL_EX                                              'Please+implement+the+reverseString+method%21'
          3        DO_FCALL                                      0          
          4      > THROW                                         0          $1
    9     5*       VERIFY_RETURN_TYPE                                       
          6*     > RETURN                                                   null

End of function reversestring

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.35 ms | 1436 KiB | 14 Q