Feature optimize:            php4 compatibility.

Signed-off-by: Euhow <euhowzy@gmail.com>