3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = '09:40 - 10:40'; //echo explode('-', $d); $pizza = "piece1 piece2 - piece3 piece4 piece5 piece6"; $pieces = explode("-", $pizza); print_r($pieces); //echo date('w', strtotime($d->format('Y-m-d'))); //echo date("H:i:s", strtotime($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rgGsD
function name:  (null)
number of ops:  11
compiled vars:  !0 = $d, !1 = $pizza, !2 = $pieces
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '09%3A40+-+10%3A40'
    5     1        ASSIGN                                                   !1, 'piece1+piece2+-+piece3+piece4+piece5+piece6'
    6     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '-'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    7     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !2
          9        DO_ICALL                                                 
   10    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.24 ms | 1397 KiB | 18 Q