fork download
  1. <?php
  2. $linha1 = "\r\n";
  3. $linha2 = chr( 0x0d ) . chr( 0x0a );
  4.  
  5. if ( $linha1 === $linha2 ) {
  6. echo 'identicas';
  7. } else {
  8. echo 'diferentes';
  9. }
  10.  
Success #stdin #stdout 0.02s 23564KB
stdin
Standard input is empty
stdout
identicas