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", strtotime($date)) != "Friday") echo "bbb"; $out_time = "16:00";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 20
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/sb7d7
function name:  (null)
number of ops:  22
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        INIT_FCALL                                               'strtotime'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $7      
         15        SEND_VAR                                                 $7
         16        DO_ICALL                                         $8      
         17        IS_NOT_EQUAL                                             $8, 'Friday'
         18      > JMPZ                                                     ~9, ->20
         19    >   ECHO                                                     'bbb'
    8    20    >   ASSIGN                                                   !2, '16%3A00'
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.29 ms | 1395 KiB | 17 Q