3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = (29 / 100.0) * 100.0; echo floor((int)$input)."\n"; $input = (7 / 100.0) * 100.0; echo ceil((int)$input)."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/neA8k
function name:  (null)
number of ops:  15
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 29
    3     1        INIT_FCALL                                               'floor'
          2        CAST                                          4  ~2      !0
          3        SEND_VAL                                                 ~2
          4        DO_ICALL                                         $3      
          5        CONCAT                                           ~4      $3, '%0A'
          6        ECHO                                                     ~4
    5     7        ASSIGN                                                   !0, 7
    6     8        INIT_FCALL                                               'ceil'
          9        CAST                                          4  ~6      !0
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                         $7      
         12        CONCAT                                           ~8      $7, '%0A'
         13        ECHO                                                     ~8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.01 ms | 1394 KiB | 17 Q