$_

From: TekWiz (tekwiz_at_twarlick.net)
Date: 02/25/05


Date: 25 Feb 2005 11:40:06 -0800

Note: I've tried searching for this in the PHP docs, but I can't figure
out how to make it search for the dollar sign; it simply ignores it.

I remember seeing the variable $_ used in some applications. Is this a
variable that is "special" in PHP, or do people actually define this
cryptic thing?

Also, how can this be of use to me?

And one last thing: How do I search (on Google or any other search
engine for that matter) with special characters. If I put in "$_ +PHP"
in Google, it gives very odd results, which leads me to believe that it
ignores special characters such as $ and &.

Thanks,
TekWiz



Relevant Pages

  • Re: Replace character (UTF-8)
    ... I would like to replace all the special characters ' ¾' with another ... would like to update the field with the corrected string. ... The table and the field are correctly set to UTF-8. ... Try saving the PHP file in UTF-8. ...
    (comp.lang.php)
  • Escaping file names?
    ... I'm using PHP 5 on Linux. ... I have a function that checks for file type ... search and replace on all the special characters I can think of? ...
    (comp.lang.php)
  • Re: preg_replace and unicode or UTF-8
    ... > EXCEPT PHP. ... I think it because of special characters used in ... with regular expressions and UTF-8 strings. ... Remove the rage from my email to reply. ...
    (php.general)
  • Re: Strange behaviour of shell_exec
    ... I have a problem with the special characters on the function shell_exec (under Linux Debian with php 4.3.10-16): ... The trouble can also be that your PHP works with unicode (utf-8) while your system is set to use an iso-8859-X character setup. ...
    (alt.php)
  • Re: Websites 101
    ... > I am presently attempting my first commercial site and was hoping I ... Google Groups, and search the archive of this group, for example ... PHP is, uhm, a very bad designed programming language which has its ... Altough learning a programming language takes a lot of time, ...
    (alt.internet.search-engines)