3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = 99; $current_year = 2017; $current_millenium = floor($current_year / 100)*100; echo $current_millenium;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IGEpq
function name:  (null)
number of ops:  10
compiled vars:  !0 = $y, !1 = $current_year, !2 = $current_millenium
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 99
    4     1        ASSIGN                                                   !1, 2017
    5     2        INIT_FCALL                                               'floor'
          3        DIV                                              ~5      !1, 100
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                         $6      
          6        MUL                                              ~7      $6, 100
          7        ASSIGN                                                   !2, ~7
    6     8        ECHO                                                     !2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.41 ms | 1393 KiB | 15 Q