Browse Source

No way this is working!

tags/v0.1.0
Rafal Kupiec 1 year ago
parent
commit
4d150c2fe3
Signed by: belliash <belliash@codingworkshop.eu.org> GPG Key ID: 4E829243E0CFE6B4
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      tests/path_split.aer

+ 2
- 1
tests/path_split.aer View File

@@ -5,7 +5,8 @@ class Program {
$path = trim($path);
string $str, $temp;
char $char;
for(int $x = 0; $char = $path[$x]; $x++) {
for(int $x = 0; $x < strlen($path); $x++) {
$char = $path[$x];
if(!strstr('/', $char)) $temp += $char;
else if($temp) {
$str += $temp;


Loading…
Cancel
Save