| 914 | | $dotClassnamePos = strlen($dotPath) - strlen($dotClassname); |
|---|
| 915 | | $classFile = strtr($dotClassname, '.', DIRECTORY_SEPARATOR) . ".php"; |
|---|
| | 914 | $dotClassnamePos = strlen($dotPath) - strlen($dotClassname); |
|---|
| | 915 | |
|---|
| | 916 | // 1- temporarily replace escaped '.' with another illegal char (#) |
|---|
| | 917 | $tmp = str_replace('\.', '##', $dotClassname); |
|---|
| | 918 | // 2- swap out the remaining '.' with DIR_SEP |
|---|
| | 919 | $tmp = strtr($tmp, '.', DIRECTORY_SEPARATOR); |
|---|
| | 920 | // 3- swap back the escaped '.' |
|---|
| | 921 | $tmp = str_replace('##', '.', $tmp); |
|---|
| | 922 | |
|---|
| | 923 | $classFile = $tmp . ".php"; |
|---|
| | 924 | |
|---|