PHP PHP: some of two number February 5, 2023 Stately World 0 In PHP, you can add two numbers by using the addition operator +. For example: $num1 = 10; $num2 = 20; $sum = $num1 + $num2; echo $sum; // Outputs 30