This example shows how PHP compares two strings using strcmp. First, two strings are set: 'apple' and 'banana'. Then strcmp is called with these strings. It returns -1 because 'apple' comes before 'banana' alphabetically. The program prints this result. strcmp returns an integer indicating order: negative means first string is less, zero means equal, positive means greater. This helps decide string order, unlike simple equality checks. The execution table tracks each step and variable values. Beginners often confuse strcmp's return values with true/false, but it actually returns an integer to show order. This is important for sorting or comparing strings beyond equality.