Some php engine implementation doesn't have return_value_ptr properly set. Explicitly use &return_value.
Attach a file by drag & drop or click to upload