3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(ini_set('serialize_precision', 17)); var_dump(json_encode(0.1)); var_dump(ini_set('serialize_precision', 14)); var_dump(json_encode(0.1));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HBNsT
function name:  (null)
number of ops:  27
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'ini_set'
          2        SEND_VAL                                                 'serialize_precision'
          3        SEND_VAL                                                 17
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'json_encode'
          9        SEND_VAL                                                 0.1
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                                 
    6    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'ini_set'
         15        SEND_VAL                                                 'serialize_precision'
         16        SEND_VAL                                                 14
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                                 
    7    20        INIT_FCALL                                               'var_dump'
         21        INIT_FCALL                                               'json_encode'
         22        SEND_VAL                                                 0.1
         23        DO_ICALL                                         $6      
         24        SEND_VAR                                                 $6
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.75 ms | 1428 KiB | 16 Q