3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new DateTime(); var_dump($now->format("Z")); var_dump($now->format("Z") * -1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RsM3g
function name:  (null)
number of ops:  17
compiled vars:  !0 = $now
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        INIT_FCALL                                               'var_dump'
          4        INIT_METHOD_CALL                                         !0, 'format'
          5        SEND_VAL_EX                                              'Z'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR                                                 $4
          8        DO_ICALL                                                 
    5     9        INIT_FCALL                                               'var_dump'
         10        INIT_METHOD_CALL                                         !0, 'format'
         11        SEND_VAL_EX                                              'Z'
         12        DO_FCALL                                      0  $6      
         13        MUL                                              ~7      $6, -1
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.7 ms | 1394 KiB | 15 Q