PHP code example of hex-abyss / duplicate

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

    

hex-abyss / duplicate example snippets


while(true){
    //some code
    if (\hexAbyss\Duplicate::isStopProcess())
        break;
}

while(true){
    //some code
    \hexAbyss\Duplicate::isExit();
}

//file: index.php
while(true){
    //some code
    if (\hexAbyss\Duplicate::isStopProcess())
        break;
}

//file: info.php
\hexAbyss\Duplicate::getInstance('keyInfo');
while(true){
    //some code
    if (\hexAbyss\Duplicate::isStopProcess())
        break;
}
bash
php composer.phar