2017 © Pedro Peláez
 

library reflection-class-constant-patch

This is a backwards compatible patch of the PHP 7.1 ReflectionClassConstant for versions of PHP prior to 7.1

image

mopsyd/reflection-class-constant-patch

This is a backwards compatible patch of the PHP 7.1 ReflectionClassConstant for versions of PHP prior to 7.1

  • Wednesday, February 14, 2018
  • by mopsyd
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

This is just a simple patch of the PHP 7.1 ReflectionClassConstant, which emulates the high level functionality of it and produces predictably similar results to the native class., (*1)

It is not as performant as the native class, and should not be relied upon heavily for production if you are running lower than PHP 7.1, though it is sufficient for command line usage that does not need to resolve quickly., (*2)

This patch file will not collide with the native ReflectionClassConstant if it exists, and only declares the class if it does not already exist. It declares modifiers and visibility in conjunction with the default class constant settings that existed prior to their introduction as configurable in PHP 7.1., (*3)

The Versions

14/02 2018

dev-master

9999999-dev

This is a backwards compatible patch of the PHP 7.1 ReflectionClassConstant for versions of PHP prior to 7.1

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Brian Dayhoff

14/02 2018

1.0.0

1.0.0.0

This is a backwards compatible patch of the PHP 7.1 ReflectionClassConstant for versions of PHP prior to 7.1

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Brian Dayhoff