3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 5*(6/5 -1) . PHP_EOL; echo floor((int)5*(6/5 -1)) . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ot5ie
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '1%0A'
    4     1        INIT_FCALL                                               'floor'
          2        CAST                                          4  ~0      5
          3        MUL                                              ~1      ~0, 0.2
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6        CONCAT                                           ~3      $2, '%0A'
          7        ECHO                                                     ~3
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.25 ms | 1394 KiB | 15 Q