Open radiofan opened 2 years ago
https://github.com/hako-975/PHPExcel-v7.4/blob/f6b598505986502bd3d6d09e10a1e0753fee775f/PHPExcel/Cell/DefaultValueBinder.php#L82
Original is } elseif ($pValue{0} === '=' && strlen($pValue) > 1) {
} elseif ($pValue{0} === '=' && strlen($pValue) > 1) {
I think should be } elseif ($pValue[0] === '=' && strlen($pValue) > 1) { or } elseif (is_string($pValue) && $pValue[0] === '=' && strlen($pValue) > 1) {
} elseif ($pValue[0] === '=' && strlen($pValue) > 1) {
} elseif (is_string($pValue) && $pValue[0] === '=' && strlen($pValue) > 1) {
yes
https://github.com/hako-975/PHPExcel-v7.4/blob/f6b598505986502bd3d6d09e10a1e0753fee775f/PHPExcel/Cell/DefaultValueBinder.php#L82
Original is
} elseif ($pValue{0} === '=' && strlen($pValue) > 1) {
I think should be
} elseif ($pValue[0] === '=' && strlen($pValue) > 1) {
or} elseif (is_string($pValue) && $pValue[0] === '=' && strlen($pValue) > 1) {