3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "2017-02-04"; $in_time = "07:00"; echo date("l", strtotime($date)); 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 = 16, Position 2 = 17
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/TDWfF
function name:  (null)
number of ops:  19
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-04'
    5     1        ASSIGN                                                   !1, '07%3A00'
    6     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'l'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $5      
          7        SEND_VAR                                                 $5
          8        DO_ICALL                                         $6      
          9        ECHO                                                     $6
    7    10        INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'l'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $7      
         14        IS_NOT_EQUAL                                             $7, 'Friday'
         15      > JMPZ                                                     ~8, ->17
         16    >   ECHO                                                     'bbb'
    8    17    >   ASSIGN                                                   !2, '16%3A00'
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.15 ms | 1395 KiB | 17 Q