3v4l.org

run code in 300+ PHP versions simultaneously
<?php list ($day, $month, $year, $hour, $minute) = preg_split("/[\/\s,:]+/", "12/02/2014 21:30"); var_dump($day, $month, $year, $hour, $minute);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/heaWq
function name:  (null)
number of ops:  23
compiled vars:  !0 = $day, !1 = $month, !2 = $year, !3 = $hour, !4 = $minute
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_split'
          1        SEND_VAL                                                 '%2F%5B%5C%2F%5Cs%2C%3A%5D%2B%2F'
          2        SEND_VAL                                                 '12%2F02%2F2014+++21%3A30'
          3        DO_ICALL                                         $5      
          4        FETCH_LIST_R                                     $6      $5, 0
          5        ASSIGN                                                   !0, $6
          6        FETCH_LIST_R                                     $8      $5, 1
          7        ASSIGN                                                   !1, $8
          8        FETCH_LIST_R                                     $10     $5, 2
          9        ASSIGN                                                   !2, $10
         10        FETCH_LIST_R                                     $12     $5, 3
         11        ASSIGN                                                   !3, $12
         12        FETCH_LIST_R                                     $14     $5, 4
         13        ASSIGN                                                   !4, $14
         14        FREE                                                     $5
    4    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        SEND_VAR                                                 !2
         19        SEND_VAR                                                 !3
         20        SEND_VAR                                                 !4
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.23 ms | 1386 KiB | 17 Q