Skip to content

Conversation

cxj
Copy link

@cxj cxj commented May 23, 2018

Faulty condition check only checks for string values. In some cases, $skey is integer 0, and PHP converts the string "is" to integer 0 to do an integer conversion, causing this if check to fail. Following code then dies due to faulty values used for offset.

Faulty condition check only checks for string values.  In some cases, `$skey` is integer 0, and PHP converts the string `"is"` to integer 0 to do an integer conversion, causing this `if` check to fail.  Following code then dies due to faulty values used for offset.
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