To subtract two numbers in PHP, you can use the '-' operator. Here's an example:
$num1 = 10;
$num2 = 5;
$result = $num1 - $num2;
echo "The result of subtracting $num2 from $num1 is: $result";
This will output: "The result of subtracting 5 from 10 is: 5"