Dostavista Test - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of Dostavista Test.php

  1. <?php
  2.  
  3. $string = '
  4. Max Verstappen was the closest thing to a challenge to Lewis Hamilton throughout qualifying, the two trading fastest laps for much of a compelling hour of viewing until Hamilton moved into another dimension in the worsening conditions of the closing minutes of the top 10 shoot-out.
  5.  
  6. Verstappen was nearly 0.8secs behind as he headed into his last lap, and he hung it all out there in an attempt to close up. But it took him over the edge. He has already had two enormous moments, through Turn Five and into Six and out of Seven, before he lost it completely through Nine, getting on to the kerb and half-spinning.
  7.  
  8. He admitted the lap was not anyway going to be enough to challenge Hamilton, but he is confident starting the race on the second row of mixing it with the Mercedes for the win. “In the dry I think we can have a good shot at it,” the Dutchman said. “We’ll see how it’s going to go. I think our car, in general, is better than last week’s so I’m looking forward to it.”Max Verstappen was the closest thing to a challenge to Lewis Hamilton throughout qualifying, the two trading fastest laps for much of a compelling hour of viewing until Hamilton moved into another dimension in the worsening conditions of the closing minutes of the top 10 shoot-out.
  9.  
  10. Verstappen was nearly 0.8secs behind as he headed into his last lap, and he hung it all out there in an attempt to close up. But it took him over the edge. He has already had two enormous moments, through Turn Five and into Six and out of Seven, before he lost it completely through Nine, getting on to the kerb and half-spinning.
  11.  
  12. He admitted the lap was not anyway going to be enough to challenge Hamilton, but he is confident starting the race on the second row of mixing it with the Mercedes for the win. “In the dry I think we can have a good shot at it,” the Dutchman said. “We’ll see how it’s going to go. I think our car, in general, is better than last week’s so I’m looking forward to it.”';
  13.  
  14. var_dump(array_count_values(str_word_count(strtolower($string), 1)));
File Description
  • Dostavista Test
  • PHP Code
  • 12 Jul-2020
  • 2.04 Kb
You can Share it: