fork(15) download
  1. <?php
  2.  
  3. define( 'NUME', "Flo" );
  4. define( 'VARSTA', 10 );
  5. define( "ADEVARAT", true );
  6.  
  7.  
  8. print "Ma numesc " . NUME;
  9. print " si am " . VARSTA . " ani";
  10.  
  11. print "\n<br>\n";
  12. if( defined( 'NUME' ) ) {
  13. print "Ma numesc " . NUME;
  14. }
  15.  
  16. if ( !defined( 'VARSTA2' ) ) {
  17. define( 'VARSTA2' , 20 );
  18. }
  19. print " Am " . VARSTA2 . " ani";
Success #stdin #stdout 0.02s 13064KB
stdin
Standard input is empty
stdout
Ma numesc Flo si am 10 ani
<br>
Ma numesc Flo Am 20 ani