定制 dstuecken/php7ify 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Build Status License Latest Stable Version Latest Unstable Version

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-12-14