3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = ["12345", PHP_INT_MAX . "00"]; var_dump($val); echo "\n"; var_dump(json_encode($val)); echo "\n"; var_dump(json_encode($val, JSON_NUMERIC_CHECK));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rZ8iU
function name:  (null)
number of ops:  20
compiled vars:  !0 = $val
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
          4        ECHO                                                     '%0A'
    5     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'json_encode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
         11        ECHO                                                     '%0A'
    6    12        INIT_FCALL                                               'var_dump'
         13        INIT_FCALL                                               'json_encode'
         14        SEND_VAR                                                 !0
         15        SEND_VAL                                                 32
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.54 ms | 1394 KiB | 17 Q