3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((string) 1234567890.12345678); print_r(json_decode('{"test":1234567890.12345678}')); ini_set('precision', 20); var_dump((string) 1.23343224234); print_r(json_decode('{"test":1234567890.12345678}'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/B6n9k
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        CAST                                          6  ~0      1.23457e+9
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    3     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'json_decode'
          6        SEND_VAL                                                 '%7B%22test%22%3A1234567890.12345678%7D'
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'ini_set'
         11        SEND_VAL                                                 'precision'
         12        SEND_VAL                                                 20
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'var_dump'
         15        CAST                                          6  ~5      1.23343
         16        SEND_VAL                                                 ~5
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'print_r'
         19        INIT_FCALL                                               'json_decode'
         20        SEND_VAL                                                 '%7B%22test%22%3A1234567890.12345678%7D'
         21        DO_ICALL                                         $7      
         22        SEND_VAR                                                 $7
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.15 ms | 1386 KiB | 21 Q