[ create a new paste ] login | about

Link: http://codepad.org/XgsCboiM    [ raw code | output | fork ]

PHP, pasted on May 15:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
    function checkMe($i) {
      echo "i is apple.";
      if ($i=="apple")
        return;
    
      echo "i is bar.";
      if ($i=="bar")
        return;
    
      echo "i is cake.";
      if ($i=="cake")
        return;
    }
    
    checkMe("bar");
    ?>


Output:
1
i is apple.i is bar.


Create a new paste based on this one


Comments: