SALSA3: PHP functions and conditions