3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('serialize_precision', 2); echo json_encode(1.2345);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eERrL
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'serialize_precision'
          2        SEND_VAL                                                     2
          3        DO_ICALL                                                     
    5     4        INIT_FCALL                                                   'json_encode'
          5        SEND_VAL                                                     1.2345
          6        DO_ICALL                                             $1      
          7        ECHO                                                         $1
          8      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
132.08 ms | 477 KiB | 9 Q