For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > March 2006 > Pointers. Haw to?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Pointers. Haw to?
iribs

2006-03-17, 9:55 pm

Can I ask, haw to work with pointer-type in PHP?
Som like this(in Pascal :) ):
....
var
a:byte;
b:pointer;//or ^byte
begin
a:=3;
b:=@b;
write(b^);
....
earler thenks.


Johannes Wienke

2006-03-17, 9:55 pm

Am 18.03.2006 01:12 schrieb iribs:
> Can I ask, haw to work with pointer-type in PHP?
> Som like this(in Pascal :) ):
> ...
> var
> a:byte;
> b:pointer;//or ^byte
> begin
> a:=3;
> b:=@b;
> write(b^);
> ...
> earler thenks.


something like http://php.net/manual/de/function.fwrite.php ?
iribs

2006-03-17, 9:55 pm


> b:=@b;

Sory. b:=@a;


Janwillem Borleffs

2006-03-18, 7:55 am

iribs wrote:
> Can I ask, haw to work with pointer-type in PHP?
> Som like this(in Pascal :) ):
>


http://www.php.net/manual/nl/language.references.php


JW


Colin McKinnon

2006-03-20, 6:56 pm

iribs wrote:

> Can I ask, haw to work with pointer-type in PHP?
> Som like this(in Pascal :) ):
> ...
> var
> a:byte;
> b:pointer;//or ^byte
> begin
> a:=3;
> b:=@b;
> write(b^);
> ...
> earler thenks.


like maybe:

$a=3;
$b='a';
print $$a;

C.

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com