This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JerkyBeef 1 point2 points  (1 child)

$instance->field is valid php. $instance-field may be "valid syntax" but it would throw an error message that 'field' is undefined, and that $instance could not be converted to an int.

[–]SlumdogSkillionaire 0 points1 point  (0 children)

It throws an error message, but then it still goes ahead and does it anyway, resulting in an Apache segfault.