3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test= 2; $asd = "03/19/1988"; list($dd,$mm,$yyyy) = explode('/',$asd); echo $dd.','.$mm.',',$yyyy; if (!checkdate($mm,$dd,$yyyy)) { $error = true; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/663Ho
function name:  (null)
number of ops:  27
compiled vars:  !0 = $test, !1 = $asd, !2 = $dd, !3 = $mm, !4 = $yyyy, !5 = $error
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2
    4     1        ASSIGN                                                   !1, '03%2F19%2F1988'
    5     2        INIT_FCALL                                               'explode'
          3        SEND_VAL                                                 '%2F'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $8      
          6        FETCH_LIST_R                                     $9      $8, 0
          7        ASSIGN                                                   !2, $9
          8        FETCH_LIST_R                                     $11     $8, 1
          9        ASSIGN                                                   !3, $11
         10        FETCH_LIST_R                                     $13     $8, 2
         11        ASSIGN                                                   !4, $13
         12        FREE                                                     $8
    6    13        CONCAT                                           ~15     !2, '%2C'
         14        CONCAT                                           ~16     ~15, !3
         15        CONCAT                                           ~17     ~16, '%2C'
         16        ECHO                                                     ~17
         17        ECHO                                                     !4
    7    18        INIT_FCALL                                               'checkdate'
         19        SEND_VAR                                                 !3
         20        SEND_VAR                                                 !2
         21        SEND_VAR                                                 !4
         22        DO_ICALL                                         $18     
         23        BOOL_NOT                                         ~19     $18
         24      > JMPZ                                                     ~19, ->26
    8    25    >   ASSIGN                                                   !5, <true>
    9    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.86 ms | 1395 KiB | 17 Q