Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: 'use strict' is not Perl

by mischief (Hermit)
on Oct 15, 2001 at 17:22 UTC ( [id://118945]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to 'use strict' is not Perl

One thing that hasn't been pointed out yet is in PHP, variables are private by default inside functions; you have to explicitly declare them as global for the rest of the program to access them. This means that you're effectively "using (a small part of) strict" inside functions. A small point, but I thought I'd post it for the sake of completeness.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://118945]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.