3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "25 / aug/ust/ 2009"; $result = explode('/',$date); //var_dump($result); //$arr = {'heloo','wolrd'}; // $result = implode() print_r($result); $arr = array('Hello','World!','Beautiful','Day!'); echo implode("anand",$arr); $my_date = date('Y/m/d', strtotime($date)); echo $my_date;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dVZAF
function name:  (null)
number of ops:  25
compiled vars:  !0 = $date, !1 = $result, !2 = $arr, !3 = $my_date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '25+%2F+aug%2Fust%2F+2009'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    7     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    8     9        ASSIGN                                                   !2, <array>
    9    10        INIT_FCALL                                               'implode'
         11        SEND_VAL                                                 'anand'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $9      
         14        ECHO                                                     $9
   14    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y%2Fm%2Fd'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $10     
         20        SEND_VAR                                                 $10
         21        DO_ICALL                                         $11     
         22        ASSIGN                                                   !3, $11
   15    23        ECHO                                                     !3
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.01 ms | 1395 KiB | 23 Q