3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closestWinningTime1 = '2016-11-08 13:00:00'; $d1 = '2016-11-08 13:00:00'; $d2 = '2016-11-08 12:59:59'; $r = abs($d1 - $closestWinningTime1); $r2 = abs($d2 - $closestWinningTime1); echo $r; echo $r2;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7VLg4
function name:  (null)
number of ops:  16
compiled vars:  !0 = $closestWinningTime1, !1 = $d1, !2 = $d2, !3 = $r, !4 = $r2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2016-11-08+13%3A00%3A00'
    5     1        ASSIGN                                                   !1, '2016-11-08+13%3A00%3A00'
    6     2        ASSIGN                                                   !2, '2016-11-08+12%3A59%3A59'
    9     3        INIT_FCALL                                               'abs'
          4        SUB                                              ~8      !1, !0
          5        SEND_VAL                                                 ~8
          6        DO_ICALL                                         $9      
          7        ASSIGN                                                   !3, $9
   10     8        INIT_FCALL                                               'abs'
          9        SUB                                              ~11     !2, !0
         10        SEND_VAL                                                 ~11
         11        DO_ICALL                                         $12     
         12        ASSIGN                                                   !4, $12
   13    13        ECHO                                                     !3
   14    14        ECHO                                                     !4
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.6 ms | 1394 KiB | 15 Q