Ad
Code
Diff
  • function describePhp() {
      return (
        (2 * 2 == 4) ? 'php is good' : 
        ((2 * 2 == 5) ? 'php is weird' : 'php has features'
      ));
    }
    
    • function describePhp() {
    • return 2 * 2 == 4 ? 'php is good' : 2 * 2 == 5 ? 'php is weird' : 'php has features';
    • return (
    • (2 * 2 == 4) ? 'php is good' :
    • ((2 * 2 == 5) ? 'php is weird' : 'php has features'
    • ));
    • }