@Piterden/

PHP SHIT

PHP (Legacy)

No description

fork
loading

This Plugin Crashed!

Error: Error: must not create an existing file {"type":"CREATE_FILE","wid":"0.6844137879371701","path":"main.php","file":{"path":"main.php","content":{"asEncoding":{"base64":"JGFycmF5ID0gWwogICAgJ3RpdGxlJyA9PiBbCiAgICAgICAgJ0lwaG9uZScsIAogICAgICAgICdTYW1zdW5nJywKICAgICAgICAnWGlhb21pJywKICAgICAgICAnT3BwbycsCiAgICAgICAgJ05va2lhJywKICAgIF0sCiAgICAncGF0aCcgID0+IFsKICAgICAgICAncm9vdC9pcGhvbmUvaW5kZXgucGhwJywKICAgICAgICAncm9vdC9zYW1zdW5nL2luZGV4LnBocCcsCiAgICAgICAgJ3Jvb3QveGFvbWkvaW5kZXgucGhwJywKICAgICAgICAncm9vdC9vcHBvL2luZGV4LnBocCcsCiAgICAgICAgJ3Jvb3Qvbm9raWEvaW5kZXgucGhwJywKICAgIF0sCl07Cgpmb3JlYWNoIChhcnJheV9jb21iaW5lKCRhcnJheVsndGl0bGUnXSwgJGFycmF5WydwYXRoJ10pIGFzICR0aXRsZSA9PiAkcGF0aCkgewogICAgZWNobyAiPGEgaHJlZj1cInskcGF0aH1cIj57JHRpdGxlfTwvYT5cbiI7Cn0="},"asBuffer":null},"loaded":true}}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$array = [
    'title' => [
        'Iphone', 
        'Samsung',
        'Xiaomi',
        'Oppo',
        'Nokia',
    ],
    'path'  => [
        'root/iphone/index.php',
        'root/samsung/index.php',
        'root/xaomi/index.php',
        'root/oppo/index.php',
        'root/nokia/index.php',
    ],
];

foreach (array_combine($array['title'], $array['path']) as $title => $path) {
    echo "<a href=\"{$path}\">{$title}</a>\n";
}
PHP 7.0.8 (Legacy: use the following for new features: Command-line PHP: https://repl.it/languages/php_cli PHP Web Server: https://repl.it/languages/php7