PHP code example of plinker / test

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

    

plinker / test example snippets

 php
$client->test->this();
 php
$client->test->config();
 php
$client->test->an_array();
 php
$client->test->closure()('foo');
 php
$client->test->run_closure(function ($value = []) {
    return implode(' ', $value);
})
 php
$client->test->date();
 php
$client->test->my_ip();

$client->test->your_ip();