3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array( 'value' => 123, 'value2'=>1234567890123456789 ); $enc = json_encode($data); $dec = json_decode( $enc, true ); //var_dump( ($data['value2'] === $dec['value2']) ); echo PHP_INT_MAX;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fb7nU
function name:  (null)
number of ops:  12
compiled vars:  !0 = $data, !1 = $enc, !2 = $dec
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    5     5        INIT_FCALL                                               'json_decode'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
    7    10        ECHO                                                     9223372036854775807
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.47 ms | 1398 KiB | 17 Q