dstuecken/php7ify
最新稳定版本:1.1.1
Composer 安装命令:
composer require dstuecken/php7ify
包简介
php7ify is a project that brings new php7 classes and exceptions to php 5.x.
README 文档
README
php7ify is a project that brings new php7 classes, functions and exceptions to php 5.x
Requirements
- PHP 5.3
Installation
Using Composer
To install php7ify with composer, just add the following to your composer.json file:
{
"require": {
"dstuecken/php7ify": "1.0"
}
}
or by running the following command:
composer require dstuecken/php7ify
Usage
Just use the new \Throwable interface in your php 5 project, or catch an \Error exception.
try { mysql_query(); } catch (Error $e) { echo $e->getMessage() . "\n\n"; echo $e->getTraceAsString(); }
统计信息
- 总下载量: 156.93k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-14