3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "2017-02-02"; $in_time = "07:00"; if(date("l", $date) != "friday") echo "bbb"; $out_time = "16:00";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/h8GdF
function name:  (null)
number of ops:  11
compiled vars:  !0 = $date, !1 = $in_time, !2 = $out_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '2017-02-02'
    5     1        ASSIGN                                                   !1, '07%3A00'
    6     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'l'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        IS_NOT_EQUAL                                             $5, 'friday'
          7      > JMPZ                                                     ~6, ->9
          8    >   ECHO                                                     'bbb'
    7     9    >   ASSIGN                                                   !2, '16%3A00'
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.68 ms | 1394 KiB | 15 Q