3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); error_reporting(E_ALL); $month99IsValid = is_int(strtotime('2010-99-01')); $month100IsValid = is_int(strtotime('2010-100-01')); var_dump($month99IsValid); var_dump($month100IsValid);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8EO74
function name:  (null)
number of ops:  20
compiled vars:  !0 = $month99IsValid, !1 = $month100IsValid
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    5     3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2010-99-01'
          5        DO_ICALL                                         $3      
          6        TYPE_CHECK                                   16  ~4      $3
          7        ASSIGN                                                   !0, ~4
    6     8        INIT_FCALL                                               'strtotime'
          9        SEND_VAL                                                 '2010-100-01'
         10        DO_ICALL                                         $6      
         11        TYPE_CHECK                                   16  ~7      $6
         12        ASSIGN                                                   !1, ~7
    8    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
    9    16        INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.52 ms | 1445 KiB | 16 Q