php variable class, fix constantinople warning