PHP code example of chrishalbert / php7mar
1. Go to this page and download the library: Download chrishalbert/php7mar 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/ */
chrishalbert / php7mar example snippets
List of file extension(s) to process.
By default *.php files are processed.
*Example: -x="php,inc"*
Exclusion tags that you can add above a line that is being flagged. Most useful for nuances which will remain in subsequent reports.
*Example: -e="@ignoreNextLine"*
Code:
// @ignoreNextLine
foreach ($array as &$byRef) {