Warning: Undefined array key "rcommentid" in /customers/1/6/9/steffenjahn.de/httpd.www/wp/wp-content/plugins/wp-recaptcha/recaptcha.php on line 348 Warning: Undefined array key "rchash" in /customers/1/6/9/steffenjahn.de/httpd.www/wp/wp-content/plugins/wp-recaptcha/recaptcha.php on line 349
Sway's Blog

Dynamische Variablennamen in PHP

by on Mrz.11, 2015, under PHP

Mit der normalen Variablendeklaration:

$variable = ‚inhalt‘;

Mit PHP sind dynamische Variablennamen auch kein Problem:

${‚variable‘.$dynamisch} = ‚inhalt‘;


Leave a Reply

Warning: Undefined variable $user_ID in /customers/1/6/9/steffenjahn.de/httpd.www/wp/wp-content/themes/pixel/comments.php on line 140

Warning: Undefined array key "rerror" in /customers/1/6/9/steffenjahn.de/httpd.www/wp/wp-content/plugins/wp-recaptcha/recaptcha.php on line 291
 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!