<?php
$value1 = array (
'value' => 1694473200,
'end_value' => 1694559540,
'duration' => 1439,
'rrule' => '1',
'rrule_index' => '1',
'timezone' => '',
);
$value2 = array (
'value' => '1694473200',
'end_value' => '1694559540',
'duration' => '1439',
'rrule' => '1',
'rrule_index' => '1',
'timezone' => '',
);
var_dump([
'==' => $value1 == $value2,
'===' => $value1 === $value2,
]);
- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.26, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
- array(2) {
["=="]=>
bool(true)
["==="]=>
bool(false)
}
preferences:
39.71 ms | 406 KiB | 5 Q