3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.5 ms | 1393 KiB | 15 Q