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); if ($hasil <= $result ){ echo "true"; }else{echo "false";}
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9EkDG
function name:  (null)
number of ops:  18
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        IS_SMALLER_OR_EQUAL                                      !0, !4
         13      > JMPZ                                                     ~12, ->16
         14    >   ECHO                                                     'true'
         15      > JMP                                                      ->17
         16    >   ECHO                                                     'false'
         17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.71 ms | 1386 KiB | 17 Q