PHP 101: Creating an Object from a String

Pubblicato il: 25 aprile 2020
sul canale di: David Thomas
94
1

What's going on YouTube?

In this video, we will create an object using a string. The way this work is that when we use the statement:

new $classname();

It will send a command to the PHP Interpreter to create a new object from a class name that matches the value of $classname. Pretty neat stuff!


In questa pagina del sito puoi guardare il video online PHP 101: Creating an Object from a String della durata di ore minuti seconda in buona qualità , che l'utente ha caricato David Thomas 25 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 94 volte e gli è piaciuto 1 spettatori. Buona visione!