3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_decode(json_encode(array(500019.68325692)), true);$b = array(500019.68325692);print ($a[0] == 500019.68325692 ? 1 : 0);print ($b[0] == 500019.68325692 ? 1 : 0);print ($b[0] == $a[0] ? 1 : 0);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 22
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 29
Branch analysis from position: 27
Branch analysis from position: 29
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 21
Branch analysis from position: 19
Branch analysis from position: 21
filename:       /in/le43Z
function name:  (null)
number of ops:  32
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_decode'
          1        INIT_FCALL                                               'json_encode'
          2        SEND_VAL                                                 <array>
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
          8        ASSIGN                                                   !1, <array>
          9        FETCH_DIM_R                                      ~6      !0, 0
         10        IS_EQUAL                                                 ~6, 500020
         11      > JMPZ                                                     ~7, ->14
         12    >   QM_ASSIGN                                        ~8      1
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~8      0
         15    >   ECHO                                                     ~8
         16        FETCH_DIM_R                                      ~9      !1, 0
         17        IS_EQUAL                                                 ~9, 500020
         18      > JMPZ                                                     ~10, ->21
         19    >   QM_ASSIGN                                        ~11     1
         20      > JMP                                                      ->22
         21    >   QM_ASSIGN                                        ~11     0
         22    >   ECHO                                                     ~11
         23        FETCH_DIM_R                                      ~12     !1, 0
         24        FETCH_DIM_R                                      ~13     !0, 0
         25        IS_EQUAL                                                 ~12, ~13
         26      > JMPZ                                                     ~14, ->29
         27    >   QM_ASSIGN                                        ~15     1
         28      > JMP                                                      ->30
         29    >   QM_ASSIGN                                        ~15     0
         30    >   ECHO                                                     ~15
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.42 ms | 1388 KiB | 17 Q