File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function contains($input, $expected) {
11
11
: 'not contains ' ;
12
12
}
13
13
14
- $ version = phpversion ('Zephir Parser ' );
14
+ $ version = phpversion ('zephir_parser ' );
15
15
$ actual = trim (file_get_contents (__DIR__ . '/../../VERSION ' ));
16
16
17
17
$ compare = $ version === $ actual ;
@@ -23,7 +23,7 @@ $info = trim(ob_get_clean());
23
23
24
24
echo contains ($ info , 'Zephir Parser ' ).PHP_EOL ;
25
25
echo contains ($ info , 'The Zephir Parser delivered as a C extension for the PHP language. ' ).PHP_EOL ;
26
- echo contains ($ info , 'Zephir Parser => enabled ' ).PHP_EOL ;
26
+ echo contains ($ info , 'zephir_parser => enabled ' ).PHP_EOL ;
27
27
echo contains ($ info , 'Author => Zephir Team and contributors ' ).PHP_EOL ;
28
28
echo contains ($ info , 'Version => ' ).PHP_EOL ;
29
29
echo contains ($ info , 'Build Date => ' ).PHP_EOL ;
@@ -32,7 +32,7 @@ echo contains($info, 'Build Date =>').PHP_EOL;
32
32
bool(true)
33
33
Zephir Parser
34
34
The Zephir Parser delivered as a C extension for the PHP language.
35
- Zephir Parser => enabled
35
+ zephir_parser => enabled
36
36
Author => Zephir Team and contributors
37
37
Version =>
38
38
Build Date =>
Original file line number Diff line number Diff line change 1
- <?php if (!extension_loaded ("Zephir Parser " )) print "skip The zephir_parser extension is not loaded " ; ?>
1
+ <?php if (!extension_loaded ("zephir_parser " )) print "skip The zephir_parser extension is not loaded " ; ?>
You can’t perform that action at this time.
0 commit comments