3v4l.org

run code in 300+ PHP versions simultaneously
<?php $level = 105; static $table = array( 0, // 0 100, 150, 260, 380, 600, 1300, 3300, 5700, 8700, 12800, // 10 18000, 25000, 36000, 52000, 73000, 100000, 125000, 160000, 220000, 280000, // 20 370000, 540000, 670000, 880000, 1000000, 1237000, 1418000, 1624000, 1857000, 2122000, // 30 2421000, 2761000, 3145000, 3580000, 4073000, 4632000, 5194000, 5717000, 6264000, 6837000, // 40 7600000, 8274000, 8990000, 9753000, 10560000, 11410000, 12320000, 13270000, 14280000, 15340000, // 50 16870000, 18960000, 19980000, 21420000, 22930000, 24530000, 26200000, 27960000, 29800000, 32780000, // 60 36060000, 39670000, 43640000, 48000000, 52800000, 58080000, 63890000, 70280000, 77310000, 85040000, // 70 93540000, 102900000, 113200000, 124500000, 137000000, 150700000, 165700000, 236990000, 260650000, 286780000, // 80 315380000, 346970000, 381680000, 419770000, 461760000, 508040000, 558740000, 614640000, 676130000, 743730000, // 90 1041222000, 1145344200, 1259878620, 1385866482, 1524453130, 1676898443, 1844588288, 2029047116, 2100000000, // 99 99·ąş§ŔĎ ¶§ ÇĘżä°ćÇčġ (100·ąş§ŔĚ µÇ±â Ŕ§ÇŃ) 2100000000, // 100 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 105 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 110 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 115 2100000000, 2100000000, 2100000000, 2100000000, 2100000000, // 120 ); echo array_key_exists($level, $table) ? $table[$level] : 0;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AI92A
function name:  (null)
number of ops:  10
compiled vars:  !0 = $level, !1 = $table
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 105
    3     1        BIND_STATIC                                              !1
  129     2        ARRAY_KEY_EXISTS                                         !0, !1
          3      > JMPZ                                                     ~3, ->7
          4    >   FETCH_DIM_R                                      ~4      !1, !0
          5        QM_ASSIGN                                        ~5      ~4
          6      > JMP                                                      ->8
          7    >   QM_ASSIGN                                        ~5      0
          8    >   ECHO                                                     ~5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.28 ms | 1393 KiB | 13 Q