<?php

$a = "bhsdhjk";

unset();
?>

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in
C:\wamp\www\TinyCreator\testCrapp8.php on line 5


"the function! doen't exist its a language construct

http://us.php.net/manual/en/function.unset.php


"Stuart" <[email protected]> wrote in message
news:[email protected]...
> 2009/8/25 Ralph Deffke <[email protected]>:
> > of course its a syntax error, because unset() IS NOT A FUNCTION its a
> > language construct
>
> FFS, stop talking out of your rear end and post line 42 of
> testCrapp6.php. Or not, your choice.
>
> -Stuart
>
> -- 
> http://stut.net/
>
> > "Stuart" <[email protected]> wrote in message
> > news:[email protected]...
> >> 2009/8/25 Ralph Deffke <[email protected]>:
> >> > causes an error
> >> > Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`'$''
> > in
> >> > C:\wamp\www\TinyCreator\testCrapp6.php on line 42
> >>
> >> This is a syntax error, not a runtime error. You've clearly done
> >> something wrong.
> >>
> >> > "Tom Worster" <[email protected]> wrote in message
> >> > news:c6b87877.11463%[email protected]...
> >> >> is it the case that unset() does not trigger an error or throw an
> >> > exception
> >> >> if it's argument was never set?
> >>
> >> Absolutely.
> >>
> >> -Stuart
> >>
> >> --
> >> http://stut.net/
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to