added useful php functions
Merge remote-tracking branch 'origin/dev'