Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect PHP version requirement documentation #210

Open
chaslain opened this issue Mar 6, 2023 · 0 comments
Open

Incorrect PHP version requirement documentation #210

chaslain opened this issue Mar 6, 2023 · 0 comments

Comments

@chaslain
Copy link

chaslain commented Mar 6, 2023

The composer.json states that a version of php at 5.0 is required, but access modifiers exist on constants (i.e.) public const.

This is a feature that was added in php 7.1.

Example:


abstract class DOM implements Query, IteratorAggregate, Countable
{

	/**
	 * The array of matches.
	 */
	protected $matches = [];

	/**
	 * Default parser flags.
	 *
	 * These are flags that will be used if no global or local flags override them.
	 *
	 * @since 2.0
	 */
	public const DEFAULT_PARSER_FLAGS = null;

	public const JS_CSS_ESCAPE_CDATA = '\\1';
	public const JS_CSS_ESCAPE_CDATA_CCOMMENT = '/* \\1 */';
	public const JS_CSS_ESCAPE_CDATA_DOUBLESLASH = '// \\1';
	public const JS



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant