Download this file
23 lines (15 with data), 406 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 | <?php
/**
* This file is an exemple of PHP file containing function aliases that could be replaced.
* This file should generate 4 warnings with the default config.
*/
class Aliases {
/**
* Function.
*/
function test() {
$a = chop('test'); // 1 - replace with rtrim();
fputs($a); // 2 - replace with fwrite();
die(); // 3 - replace with exit();
}
}
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.