aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-28 12:07:19 +0900
committernsfisis <nsfisis@gmail.com>2025-03-28 12:07:19 +0900
commit24607cd13b77ae2fd998b506b15f03ba98aa46ec (patch)
tree203589ce80f8b7729a5643547aad16873fbf4ac1 /index.php
parent4efa8ba0c0b749fa37b39393d3c29ac75314cc21 (diff)
downloadphphp-24607cd13b77ae2fd998b506b15f03ba98aa46ec.tar.gz
phphp-24607cd13b77ae2fd998b506b15f03ba98aa46ec.tar.zst
phphp-24607cd13b77ae2fd998b506b15f03ba98aa46ec.zip
update readme
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index d8f9ce5..a7c49ee 100644
--- a/index.php
+++ b/index.php
@@ -1195,8 +1195,8 @@ $env['funcs'] = [];
$env['consts'] = [];
if (defined('PHPHP')) {
- if (PHPHP === 1) {
- echo "Running on PHPHP on PHP\n";
+ if (PHPHP < 2) {
+ echo "Running" . str_repeat(" on PHPHP", PHPHP) . " on PHP\n";
$file = './index.php';
} else {
$file = './hello.php';