3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_decode(json_encode(array(500019.68325692)), true); $b = array('xes' => array(500019.68325692)); //print ($a['xes'][0] == 500019.68325692 ? 1 : 0); print ($b['xes'][0] == 500019.68325692 ? 1 : 0); print ($a[0] == 500019.68325692 ? 1 : 0);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
Branch analysis from position: 22
filename:       /in/ab3uc
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $b
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                                         $2      
          4        SEND_VAR                                                 $2
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
    4     8        ASSIGN                                                   !1, <array>
    7     9        FETCH_DIM_R                                      ~6      !1, 'xes'
         10        FETCH_DIM_R                                      ~7      ~6, 0
         11        IS_EQUAL                                                 ~7, 500020
         12      > JMPZ                                                     ~8, ->15
         13    >   QM_ASSIGN                                        ~9      1
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~9      0
         16    >   ECHO                                                     ~9
    8    17        FETCH_DIM_R                                      ~10     !0, 0
         18        IS_EQUAL                                                 ~10, 500020
         19      > JMPZ                                                     ~11, ->22
         20    >   QM_ASSIGN                                        ~12     1
         21      > JMP                                                      ->23
         22    >   QM_ASSIGN                                        ~12     0
         23    >   ECHO                                                     ~12
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.72 ms | 1395 KiB | 17 Q