PHP code example of misterspelik / rpn-calculator

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

    

misterspelik / rpn-calculator example snippets

shell
php index.php --expression="2 1 12 3 / - +"
shell
php index.php