3v4l.org

run code in 300+ PHP versions simultaneously
<?php class luokka { public function intToString(int $i) : string { return $i+""; } } $jep = new luokka(); echo $jep->intToString(1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZhVNc
function name:  (null)
number of ops:  8
compiled vars:  !0 = $jep
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   NEW                                              $1      'luokka'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   17     3        INIT_METHOD_CALL                                         !0, 'intToString'
          4        SEND_VAL_EX                                              1
          5        DO_FCALL                                      0  $4      
          6        ECHO                                                     $4
          7      > RETURN                                                   1

Class luokka:
Function inttostring:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZhVNc
function name:  intToString
number of ops:  6
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   RECV                                             !0      
   10     1        ADD                                              ~1      !0, ''
          2        VERIFY_RETURN_TYPE                                       ~1
          3      > RETURN                                                   ~1
   11     4*       VERIFY_RETURN_TYPE                                       
          5*     > RETURN                                                   null

End of function inttostring

End of class luokka.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
213.3 ms | 1393 KiB | 13 Q