PHP code example of marcin-orlowski / php-lockpick
1. Go to this page and download the library: Download marcin-orlowski/php-lockpick 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/ */
marcin-orlowski / php-lockpick example snippets
use Lockpick\Lockpick;
use PHPUnit\Framework\Assert;
$obj = new Stronghold();
$actual = Lockpick::call($obj, 'openSessame', [ 'abracadabra' ]);
Assert::assertEquals($expected, $actual);
...