PHP code example of p810 / tuple
1. Go to this page and download the library: Download p810/tuple 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/ */
p810 / tuple example snippets
use function p810\Tuple\tuple;
$tuple = tuple('foo', 'bar');
$tuple = ('hello', 'world');
var_dump($tuple); // => p810\Tuple\Tuple#3 (2) {...}