$test = "this is a test.";if ( $test = substr( $test, -3 ) == "est") { print "est";} else { print "Welcome to our shop!";}?>