3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.39 ms | 1004 KiB | 14 Q