PHP code example of rypsx / commeaucinema

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

    

rypsx / commeaucinema example snippets


object(Rypsx\Commeaucinema\Cinema)[4]
 public 'erreur' => array (size=0)
 public 'titre' => string (length=42)
 public 'lien' => string (length=81)
 public 'description' => string (length=47)
 public 'image' => string (length=55)
 public 'ba' => string (length=62)

use Rypsx\Commeaucinema\Commeaucinema;

} catch (Exception $e) {
    print $e->getMessage();
}

echo '<pre>' . var_export($cac, true) . '</pre>';

object(Rypsx\Commeaucinema\Cinema)[4]
 public 'erreur' => array (size=0)
 public 'titre' => string (length=42)
 public 'lien' => string (length=81)
 public 'description' => string (length=47)
 public 'image' => string (length=55)
 public 'ba' => string (length=62)

use Rypsx\Commeaucinema\Commeaucinema;

} catch (Exception $e) {
    print $e->getMessage();
}

echo '<pre>' . var_export($cac, true) . '</pre>';