3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((bool) '0000-00-00 00:00:00'); var_dump((int) '0000-00-00 00:00:00'); var_dump(strtotime('0000-00-00 00:00:00')); var_dump(strtotime('0000-00-00 00:00:01'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mU5Ji
function name:  (null)
number of ops:  21
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        BOOL                                             ~0      '0000-00-00+00%3A00%3A00'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        CAST                                          4  ~2      '0000-00-00+00%3A00%3A00'
          6        SEND_VAL                                                 ~2
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 '0000-00-00+00%3A00%3A00'
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '0000-00-00+00%3A00%3A01'
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.03 ms | 1395 KiB | 17 Q