What Is A Typeless Variable? - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › What Is A Typeless Variable? (1341 Views)
| What Is A Typeless Variable? by hirephpexpert(op): 3:48am On Jan 17, 2012 |
A variable which is not bound to a specific data type. A variable can contain a string, then assigned an integer, then an array, then an object, etc. <?php $var = 'hello'; $var = 100; $var = array( 1, 2, 'hello', 100 ); $var = new Person(); ?> |
| Re: What Is A Typeless Variable? by Fayimora(m): 6:33am On Jan 17, 2012 |
Seriously? |
| Re: What Is A Typeless Variable? by bakenda(m): 11:13am On Jan 17, 2012 |
Yes. |
| Re: What Is A Typeless Variable? by Fayimora(m): 11:45am On Jan 17, 2012 |
I mean, why this topic? |
| Re: What Is A Typeless Variable? by kodewrita(m): 12:03pm On Jan 17, 2012 |
he's an indian programmer. came here to post links a while back but I deleted the ones where he spammed unrelated threads. |
Declare And Initialize A Variable In Vb 6.0 • Variable Undefine • 2 • 3 • 4
Pre-programming; How Do You Cope?? • Pls Where Can I Learn Mobile App Development • Outlook Messages No Longer Open.