3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $last_message_date = new \DateTime(); $from_date = clone $last_message_date; $to_date = clone $last_message_date; var_dump($from_date, $to_date);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/EgNDa
function name:  (null)
number of ops:  12
compiled vars:  !0 = $last_message_date, !1 = $from_date, !2 = $to_date
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $3      :-6
         1        DO_FCALL                                      0          
         2        ASSIGN                                                   !0, $3
   4     3        CLONE                                            $6      !0
         4        ASSIGN                                                   !1, $6
   5     5        CLONE                                            $8      !0
         6        ASSIGN                                                   !2, $8
   6     7        INIT_FCALL                                               'var_dump'
         8        SEND_VAR                                                 !1
         9        SEND_VAR                                                 !2
        10        DO_ICALL                                                 
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0