3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 11; $k1 = 1.1; $k2 = '1,1'; print ($x * $k1) . PHP_EOL; print ($x * $k2) . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XakqG
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $k1, !2 = $k2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 11
    5     1        ASSIGN                                                   !1, 1.1
    6     2        ASSIGN                                                   !2, '1%2C1'
    8     3        MUL                                              ~6      !0, !1
          4        CONCAT                                           ~7      ~6, '%0A'
          5        ECHO                                                     ~7
    9     6        MUL                                              ~8      !0, !2
          7        CONCAT                                           ~9      ~8, '%0A'
          8        ECHO                                                     ~9
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.02 ms | 1396 KiB | 13 Q