- Output for 7.1.0 - 7.1.13, 7.2.0 - 7.2.1
- Parse error: syntax error, unexpected 'const' (T_CONST), expecting ',' or ';' in /in/bM1Jj on line 5
Process exited with code 255.
<?php
interface SessionDurations{
const SESSION_LIFETIME_30_DAYS = 30
const SESSION_LIFETIME_90_DAYS = self::SESSION_LIFETIME_30_DAYS * 3;
}
echo SessionDurations::SESSION_LIFETIME_90_DAYS;