PHP code example of indextank / yii2-plugin-env
1. Go to this page and download the library: Download indextank/yii2-plugin-env 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/ */
indextank / yii2-plugin-env example snippets
p($a, $b):打印变量,支持数组,格式化显示,不中断打印后续的输出,类似于:echo "<pre>";print_r($a);echo "----";print_r($b);
dd($a):打印变量,支持数组,格式化显示,中断打印后续的输出,类似于:echo "<pre>";print_r($A);exit()