┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
webm008.cluster103.gra.hosting.ovh.net
LOCATION:
/home/paxmediccp/www/plugins/yaml-3.1.2/vendor/mustangostang/spyc/php4
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: 5to4.php
<?php php5to4 ("../spyc.php", 'spyc-latest.php4'); function php5to4 ($src, $dest) { $code = file_get_contents ($src); $code = preg_replace ('#(public|private|protected)\s+\$#i', 'var \$', $code); $code = preg_replace ('#(public|private|protected)\s+static\s+\$#i', 'var \$', $code); $code = preg_replace ('#(public|private|protected)\s+function#i', 'function', $code); $code = preg_replace ('#(public|private|protected)\s+static\s+function#i', 'function', $code); $code = preg_replace ('#throw new Exception\\(([^)]*)\\)#i', 'trigger_error($1,E_USER_ERROR)', $code); $code = str_replace ('self::', '$this->', $code); $f = fopen ($dest, 'w'); fwrite($f, $code); fclose ($f); print "Written to $dest.\n"; }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 5to4.php
PHP
728 B
2025-11-12 11:58
EDIT
📄 spyc.php4
PHP4
29.3 KB
2025-11-12 11:58
EDIT
📄 test.php4
PHP4
4.4 KB
2025-11-12 11:58
EDIT