mirror of
https://github.com/kmvan/x-prober.git
synced 2026-04-22 01:08:59 +08:00
add notice for PHP5.3
This commit is contained in:
@@ -128,6 +128,8 @@ final class Compiler
|
||||
|
||||
return <<<PHP
|
||||
namespace InnStudio\\Prober\\Components\\PreDefine;
|
||||
\$version = phpversion();
|
||||
version_compare(\$version, '5.4.0','<') && exit("PHP 5.4+ is required. Currently installed version is: {\$version}");
|
||||
{$codeStr}
|
||||
PHP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user