mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
4d77cb059d
When creating from an array with elements like this: `[ "a" => [ 0 ] ]` or `[ "a" => [ '0' ] ]` it fails and produces XML like this `<a/>` instant of `<a>0</a>`. The problem is that in PHP `empty('0')` is true, so an exception to this case is needed. |
||
---|---|---|
.. | ||
CakeNumber.php | ||
CakeText.php | ||
CakeTime.php | ||
ClassRegistry.php | ||
Debugger.php | ||
File.php | ||
Folder.php | ||
Hash.php | ||
Inflector.php | ||
ObjectCollection.php | ||
Sanitize.php | ||
Security.php | ||
Set.php | ||
String.php | ||
Validation.php | ||
Xml.php |