PHP code example of tsnc / prisma-php

1. Go to this page and download the library: Download tsnc/prisma-php 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/ */

    

tsnc / prisma-php example snippets




use PPHP\Set;

$set = new Set();
$set->add("Hello");
$set->add("World");

print_r($set->values());



use PPHP\Set;

$set = new Set();
$set->add("PPHP");
$set->add("rocks");

var_dump($set->values());
bash
composer