PHP code example of sahil-gulati / phphump

1. Go to this page and download the library: Download sahil-gulati/phphump library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sahil-gulati / phphump example snippets

HTML

<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <div>
     
    foreach($someVariable as $value)
    {
      echo "<p class='someClass'> $value </p>";
    }