3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.22 ms | 1396 KiB | 17 Q