3v4l.org

run code in 300+ PHP versions simultaneously
<?php printf("2 ** 3 == %d\n", 2 ** 3); printf("2 ** 3 ** 4 == %d\n", 2 ** 3 ** 4); printf("(2 ** 3) ** 4 == %d\n", (2 ** 3) ** 4); printf("2 ** (3 ** 4) == %d\n", 2 ** (3 ** 4)); $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/adDmr
function name:  (null)
number of ops:  23
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+4+++%3D%3D+%25d%0A'
          6        SEND_VAL                                                 2.41785e+24
          7        DO_ICALL                                                 
    4     8        INIT_FCALL                                               'printf'
          9        SEND_VAL                                                 '%282+%2A%2A+3%29+%2A%2A+4+%3D%3D+%25d%0A'
         10        SEND_VAL                                                 4096
         11        DO_ICALL                                                 
    5    12        INIT_FCALL                                               'printf'
         13        SEND_VAL                                                 '2+%2A%2A+%283+%2A%2A+4%29+%3D%3D+%25d%0A'
         14        SEND_VAL                                                 2.41785e+24
         15        DO_ICALL                                                 
    7    16        ASSIGN                                                   !0, 2
    8    17        ASSIGN_OP                                    12          !0, 3
    9    18        INIT_FCALL                                               'printf'
         19        SEND_VAL                                                 'a+++++++++++++%3D%3D+%25d%0A'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.3 ms | 1395 KiB | 15 Q