Skip to content

Suppress E_NOTICE error on string comparison#6

Open
scottscott wants to merge 2 commits intoshiflett:masterfrom
scottscott:master
Open

Suppress E_NOTICE error on string comparison#6
scottscott wants to merge 2 commits intoshiflett:masterfrom
scottscott:master

Conversation

@scottscott
Copy link

No description provided.

Slower comparison, but functional and the speed hit should not be significant in any reasonable use case. More readable than most potential substitutes.

Addresses "PHP Notice:  Uninitialized string offset: 0 in /my/path/testmore/testmore.php on line 122"
Suppress E_NOTICE error on string comparison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant