An open API service indexing awesome lists of open source software.

https://github.com/marc-mabe/php-behaviour

List of PHP behaviours you don't expect
https://github.com/marc-mabe/php-behaviour

Last synced: 4 months ago
JSON representation

List of PHP behaviours you don't expect

Awesome Lists containing this project

README

        

List of PHP behaviours you don't expect
=======================================

This is a list of some unexpected behaviours when developing in PHP.

It doesn't mean they are bugs. It only means you should be aware of them.

* [Numeric string comparison](numeric_string_comparison.md)
* [0 to string comparison](0_to_string_comparison.md)
* [Change boolean constants TRUE/FALSE](change_boolean_constants.md) (Fixed in PHP-7.0)
* [Overwriting $this when using references](overwriting_this.md) (Fixed in PHP-7.1)
* [Automatic type conversion on array keys](automatic_type_conversion_on_array_keys.md)
* [Late constant binding](late_constant_binding.md)
* [Reference returning](reference_returning.md)
* [Callable type-hint not directly callable](callable_typehint_not_directly_callable.md) (Fixed in PHP-7.0)
* [Hidden array element](hidden_array_element.md) (Fixed in PHP-7.2)