Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jan 14th, 2018 58 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.  aquarion@cenote:~$ vim test.php
  2.  aquarion@cenote:~$ cat test.php
  3. <?PHP
  4.  
  5. function f1(){
  6.         print "F1!\n";
  7.         return True;
  8. }
  9.  
  10. function f2(){
  11.         print "F2!\n";
  12.         return True;
  13. }
  14.  
  15. f1() & f2();
  16.  
  17. print "----------\n";
  18.  
  19. f1() && f2();
  20.  
  21.  
  22.  aquarion@cenote:~$ php ./test.php
  23. F1!
  24. F2!
  25. ----------
  26. F1!
  27. F2!
  28.  aquarion@cenote:~$ vim test.php
  29.  aquarion@cenote:~$ cat test.php
  30. <?PHP
  31.  
  32. function f1(){
  33.         print "F1!\n";
  34.         return False;
  35. }
  36.  
  37. function f2(){
  38.         print "F2!\n";
  39.         return True;
  40. }
  41.  
  42. f1() & f2();
  43.  
  44. print "----------\n";
  45.  
  46. f1() && f2();
  47.  
  48.  
  49.  aquarion@cenote:~$ php ./test.php
  50. F1!
  51. F2!
  52. ----------
  53. F1!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top