3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function something(int $int, string $string): string { return "{$string} {$int}"; } something(9000, "Hello world >"); // Hello world > 9000
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h5EPe
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'something'
          1        SEND_VAL                                                 9000
          2        SEND_VAL                                                 'Hello+world+%3E'
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function something:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/h5EPe
function name:  something
number of ops:  9
compiled vars:  !0 = $int, !1 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    5     2        ROPE_INIT                                     3  ~3      !1
          3        ROPE_ADD                                      1  ~3      ~3, '+'
          4        ROPE_END                                      2  ~2      ~3, !0
          5        VERIFY_RETURN_TYPE                                       ~2
          6      > RETURN                                                   ~2
    6     7*       VERIFY_RETURN_TYPE                                       
          8*     > RETURN                                                   null

End of function something

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.89 ms | 1397 KiB | 14 Q