3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data['G'] = '7/6/2015 19:17:13'; echo date('Y-m-d',strtotime(explode($data['G'])[0]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CI7A0
function name:  (null)
number of ops:  16
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0, 'G'
          1        OP_DATA                                                  '7%2F6%2F2015+19%3A17%3A13'
    3     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'Y-m-d'
          4        INIT_FCALL                                               'strtotime'
          5        INIT_FCALL                                               'explode'
          6        FETCH_DIM_R                                      ~2      !0, 'G'
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                         $3      
          9        FETCH_DIM_R                                      ~4      $3, 0
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                         $6      
         14        ECHO                                                     $6
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
130.19 ms | 1398 KiB | 19 Q