Test case for #1399
Test case for #1399

(cherry picked from commit 2491233d29a09184c5802df120a4eb25a8f85fbc)

unisys12/phalcon-hhvm,Zaszczyk/cphalcon,unisys12/phalcon-hhvm,unisys12/phalcon-hhvm,unisys12/phalcon-hhvm,unisys12/phalcon-hhvm,unisys12/phalcon-hhvm,Zaszczyk/cphalcon,Zaszczyk/cphalcon,Zaszczyk/cphalcon