3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = PHP_INT_MAX * PHP_INT_MAX; $bb = json_encode($a, true); $b = json_decode($bb); var_dump($a); var_dump($b);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rBiTL
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $bb, !2 = $b
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 8.50706e+37
    5     1        INIT_FCALL                                                   'json_encode'
          2        SEND_VAR                                                     !0
          3        SEND_VAL                                                     <true>
          4        DO_ICALL                                             $4      
          5        ASSIGN                                                       !1, $4
    6     6        INIT_FCALL                                                   'json_decode'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                             $6      
          9        ASSIGN                                                       !2, $6
    8    10        INIT_FCALL                                                   'var_dump'
         11        SEND_VAR                                                     !0
         12        DO_ICALL                                                     
    9    13        INIT_FCALL                                                   'var_dump'
         14        SEND_VAR                                                     !2
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
149.63 ms | 1433 KiB | 11 Q