Ja ik snap ook het voordeel tegenover de gewone php functies niet echt.
Bovendien mag ik toch hopen dat je van je config weet welke variabelen bestaan enzo, en die hoeven doorgaans ook niet veranderd te worden tijdens je runtime, want dan is het geen config meer.
[COLOR= #0000BB]<?php
$db[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL][COLOR= #007700]([/COLOR]
[COLOR= #DD0000]hostname[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]localhost[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]username[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]username[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]password[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]password[/COLOR][COLOR= #007700],[/COLOR]
[COLOR= #DD0000]database[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]datanase[/COLOR]
[COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$db[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]hostname[/COLOR][COLOR= #007700]];[/COLOR]
[COLOR= #0000BB]$db[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]hostname[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #DD0000]db.one2xs.com[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$db[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]]);[/COLOR]
[URL="http://www.php.net/unset"]unset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$db[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700]]);[/COLOR] Bovendien mag ik toch hopen dat je van je config weet welke variabelen bestaan enzo, en die hoeven doorgaans ook niet veranderd te worden tijdens je runtime, want dan is het geen config meer.
