3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = number_format(45.1, 2); var_dump($value); $value = ($value * 1.00).''; var_dump($value);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cd9VD
function name:  (null)
number of ops:  15
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'number_format'
          1        SEND_VAL                                                 45.1
          2        SEND_VAL                                                 2
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    3     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        MUL                                              ~4      !0, 1
          9        CONCAT                                           ~5      ~4, ''
         10        ASSIGN                                                   !0, ~5
    6    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.92 ms | 1397 KiB | 18 Q