fork download
  1. <?php
  2.  
  3. // Irá mostrar a string "Luiz Felipe" antes dos três hífens.
  4. $printedLength = printf("%s %s", "Luiz", "Felipe");
  5.  
  6. echo "\n" . "---" . "\n";
  7.  
  8. // Irá imprimir 11:
  9. echo $printedLength;
Success #stdin #stdout 0s 82560KB
stdin
Standard input is empty
stdout
Luiz Felipe
---
11