3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 52.5; $array1 = array(0,40,65); $array2 = array(40,65,80); $array3 = array(65,80,100); $result = array_intersect($array2, $array3); print_r($result); echo $array1[0][1]; // 40 if ($hasil >= $result ){ echo "true"; }else{echo "false";}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZtL4u
function name:  (null)
number of ops:  21
compiled vars:  !0 = $hasil, !1 = $array1, !2 = $array2, !3 = $array3, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 52.5
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, <array>
    5     3        ASSIGN                                                   !3, <array>
    6     4        INIT_FCALL                                               'array_intersect'
          5        SEND_VAR                                                 !2
          6        SEND_VAR                                                 !3
          7        DO_ICALL                                         $9      
          8        ASSIGN                                                   !4, $9
    7     9        INIT_FCALL                                               'print_r'
         10        SEND_VAR                                                 !4
         11        DO_ICALL                                                 
    9    12        FETCH_DIM_R                                      ~12     !1, 0
         13        FETCH_DIM_R                                      ~13     ~12, 1
         14        ECHO                                                     ~13
   11    15        IS_SMALLER_OR_EQUAL                                      !4, !0
         16      > JMPZ                                                     ~14, ->19
         17    >   ECHO                                                     'true'
         18      > JMP                                                      ->20
         19    >   ECHO                                                     'false'
         20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.4 ms | 1395 KiB | 17 Q