3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysql_timestamp = "2014-10-21 10:49:34"; if(strtotime($mysql_timestamp) > strtotime("-30 minutes")) { $this_is_new = true; } print_r($this_is_new);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/Yi7SA
function name:  (null)
number of ops:  14
compiled vars:  !0 = $mysql_timestamp, !1 = $this_is_new
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2014-10-21+10%3A49%3A34'
    5     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '-30+minutes'
          6        DO_ICALL                                         $4      
          7        IS_SMALLER                                               $4, $3
          8      > JMPZ                                                     ~5, ->10
    6     9    >   ASSIGN                                                   !1, <true>
    9    10    >   INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.28 ms | 1398 KiB | 17 Q