3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("2 ** 3 == %d\n", 2 ** 3); printf("2 ** 3 ** 2 == %d\n", 2 ** 3 ** 2); $a = 2; $a **= 3; printf("a == %d\n", $a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/v82Af
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'printf'
          1        SEND_VAL                                                 '2+%2A%2A+3+%3D%3D++++++%25d%0A'
          2        SEND_VAL                                                 8
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'printf'
          5        SEND_VAL                                                 '2+%2A%2A+3+%2A%2A+2+%3D%3D+%25d%0A'
          6        SEND_VAL                                                 512
          7        DO_ICALL                                                 
    5     8        ASSIGN                                                   !0, 2
    6     9        ASSIGN_OP                                    12          !0, 3
    7    10        INIT_FCALL                                               'printf'
         11        SEND_VAL                                                 'a+%3D%3D+++++++++++%25d%0A'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151 ms | 1394 KiB | 15 Q