3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_encode([0.00000000120023021301])); $a = (string) 0.00000000120023021301; var_dump($a); $b = 0.00000000120023021301; var_dump(number_format($b));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4kPIG
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'json_encode'
          2        SEND_VAL                                                 <array>
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                                 
    5     6        CAST                                          6  ~4      1.20023e-9
          7        ASSIGN                                                   !0, ~4
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    8    11        ASSIGN                                                   !1, 1.20023e-9
    9    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'number_format'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $8      
         16        SEND_VAR                                                 $8
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.09 ms | 1394 KiB | 19 Q