3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=300; for($i=0;$i<50;$i++) { print("When they buy the coin for ".$x."yen,"); $x=($x+64)*(100/(100-10)); print("they should sell the coin for ".$x."yen.¥n"); } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 3
Branch analysis from position: 15
Branch analysis from position: 3
filename:       /in/8hRWu
function name:  (null)
number of ops:  16
compiled vars:  !0 = $x, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 300
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->13
    5     3    >   CONCAT                                           ~4      'When+they+buy+the+coin+for+', !0
          4        CONCAT                                           ~5      ~4, 'yen%2C'
          5        ECHO                                                     ~5
    6     6        ADD                                              ~6      !0, 64
          7        MUL                                              ~7      ~6, 1.11111
          8        ASSIGN                                                   !0, ~7
    7     9        CONCAT                                           ~9      'they+should+sell+the+coin+for+', !0
         10        CONCAT                                           ~10     ~9, 'yen.%C2%A5n'
         11        ECHO                                                     ~10
    3    12        PRE_INC                                                  !1
         13    >   IS_SMALLER                                               !1, 50
         14      > JMPNZ                                                    ~12, ->3
    9    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
199.24 ms | 1393 KiB | 13 Q