3v4l.org

run code in 300+ PHP versions simultaneously
<?php $invalidDate = '30-02-2015'; $parsedDate = date('30-02-2015'); echo $invalidDate . ' ' . $parsedDate . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0K4eu
function name:  (null)
number of ops:  10
compiled vars:  !0 = $invalidDate, !1 = $parsedDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '30-02-2015'
    3     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 '30-02-2015'
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        CONCAT                                           ~5      !0, '+'
          6        CONCAT                                           ~6      ~5, !1
          7        CONCAT                                           ~7      ~6, '%0A'
          8        ECHO                                                     ~7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.68 ms | 1394 KiB | 15 Q