summaryrefslogtreecommitdiffstats
path: root/system/helpers/compatibility_helper.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-10-17 16:18:45 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-10-17 16:18:45 +0200
commitff5d13b710007d7a0648542070a4e10a3a8a284d (patch)
treee374df0d3f46ee04c22c684109457b8b8c7707bc /system/helpers/compatibility_helper.php
parentdc50e1168020211a4dfd392334a83df74dd3a5d0 (diff)
syntax simplification for testing first character of string
if (substr($ip_segments[0], 0, 1) == '0') to if ($ip_segments[0][0] == '0')
Diffstat (limited to 'system/helpers/compatibility_helper.php')
0 files changed, 0 insertions, 0 deletions