3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp_date = date('d-m-Y h:i:s'); $current_date = date_create($temp_date); date_modify($temp_date,'+30 minutes'); $modified_date=date_format($date,"Y-m-d h:i:s"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hSOKK
function name:  (null)
number of ops:  18
compiled vars:  !0 = $temp_date, !1 = $current_date, !2 = $modified_date, !3 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd-m-Y+h%3Ai%3As'
          2        DO_ICALL                                         $4      
          3        ASSIGN                                                   !0, $4
    4     4        INIT_FCALL                                               'date_create'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $6      
          7        ASSIGN                                                   !1, $6
    5     8        INIT_FCALL                                               'date_modify'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 '%2B30+minutes'
         11        DO_ICALL                                                 
    6    12        INIT_FCALL                                               'date_format'
         13        SEND_VAR                                                 !3
         14        SEND_VAL                                                 'Y-m-d+h%3Ai%3As'
         15        DO_ICALL                                         $9      
         16        ASSIGN                                                   !2, $9
    7    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.59 ms | 1394 KiB | 21 Q