-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent using integers or numeric strings as keys #4
Comments
tangrufus
changed the title
Prevent using integers as
Prevent using integers or numberic strings as keys
Mar 11, 2020
key
tangrufus
changed the title
Prevent using integers or numberic strings as keys
Prevent using integers or numeric strings as keys
Mar 11, 2020
@tangrufus I'm down for doing all this
Let's do it and tag a 2.0? |
4 tasks
tangrufus
added a commit
to tangrufus/wp-config
that referenced
this issue
Mar 13, 2020
- Bump minimum PHP requirement from 5.6 to 7.0 - Add PHP 7.3 and 7.4 to test matrix - Update dependencies See: roots#4
Closed
tangrufus
added a commit
to tangrufus/wp-config
that referenced
this issue
Mar 13, 2020
- Bump minimum PHP requirement from 5.6 to 7.1 (inline with [Bedrock](https://github.com/roots/bedrock/blob/ff5e28ac74f1e9aac1b44f8d197054a34eb85079/composer.json#L33)) - Add PHP 7.3 and 7.4 to test matrix - Update dependencies See: roots#4
austinpray
pushed a commit
that referenced
this issue
Mar 13, 2020
- Bump minimum PHP requirement from 5.6 to 7.1 (inline with [Bedrock](https://github.com/roots/bedrock/blob/ff5e28ac74f1e9aac1b44f8d197054a34eb85079/composer.json#L33)) - Add PHP 7.3 and 7.4 to test matrix - Update dependencies See: #4
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Unexpected behaviors when using integers or numeric strings as keys
Steps to reproduce
Expected behavior:
Warn (or throw exceptions) about using integers or numeric strings as keys is incorrect.
Actual behavior:
Possible Solution
declare(strict_types=1);
The text was updated successfully, but these errors were encountered: