Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4dddd85

Browse files
author
Stephan Wentz
committed
add keywords that are reserved in php7
1 parent ba26b63 commit 4dddd85

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/PHPExiftool/Tool/Command/ClassesBuilder.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ protected function createTagClass($namespace, $classname, array $properties)
335335

336336
protected function extractDump($dump)
337337
{
338-
339338
$crawler = new Crawler();
340339
$crawler->addContent($dump);
341340

@@ -474,6 +473,9 @@ protected function extractDump($dump)
474473
, 'instanceof', 'namespace', 'new', 'old_function'
475474
, 'or', 'private', 'protected', 'public', 'static'
476475
, 'switch', 'throw', 'try', 'use', 'var', 'while', 'xor'
476+
, 'int', 'float', 'bool', 'string'
477+
, 'true', 'false', 'null', 'resource'
478+
, 'object', 'mixed', 'numeric'
477479
);
478480

479481
/**

0 commit comments

Comments
 (0)