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']) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q5PHQ
function name:  (null)
number of ops:  17
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
    6    10        INIT_FCALL                                               'var_dump'
         11        FETCH_DIM_R                                      ~8      !0, 'value2'
         12        FETCH_DIM_R                                      ~9      !2, 'value2'
         13        IS_IDENTICAL                                     ~10     ~8, ~9
         14        SEND_VAL                                                 ~10
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.85 ms | 1394 KiB | 19 Q