I have a php program like below:
const DATE = '2016/1/1';
$chargingRecord = array('calculate date:'.self::DATE => 5.00);
This code cannot run successfully when php version is 5.4, but didn't show any error in php 7.0, which I had tried,Is there any idea or problem in this? thanks!