Php and lua modes