Advertisement
Guest User

Untitled

a guest
Jul 29th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. Your task is to complete the below program so that it prints as shown in the example. There's only one missing function that you need to write. Just write that missing function in the text box. Incomplete program:
  2.  
  3. <?php
  4.  
  5.  
  6.  
  7. // Your code here
  8.  
  9.  
  10.  
  11. $charstring = "first\n";
  12.  
  13. newvalue($charstring);
  14.  
  15. echo "String in the end: $charstring\n";
  16.  
  17.  
  18.  
  19. ?>
  20.  
  21.  
  22. Example output
  23.  
  24.  
  25. String in the start: first
  26. String in the end: New string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement