Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5970457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:22:37+00:00 2026-05-22T20:22:37+00:00

I am now staring at my code: if(2 > 10) echo $#@$#$#$; and the

  • 0

I am now staring at my code:

if(2 > 10) echo "$#@$#$#$";

and the results are that the string is echoed on the page!
So how can this be possible?

If I do this:

$i = 2;
$j = 10;
if($i > $j) echo "$#@$#$#$";

my script generates a 500 error.

And if I do this:

$i = 2;
if($i > 10) echo "$#@$#$#$";

I get this error message:

Notice: Use of undefined constant  10 - assumed ' 10'

What could be the reason for this behavior?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:22:38+00:00Added an answer on May 22, 2026 at 8:22 pm

    Will probably works fine :

    if(2 >10) echo "$#@$#$#$";
    

    You may have an encoded whitespace you cannot see before 10 (wich is why it’s saying assumed ‘ 10′ and not ’10’)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am print an string as below Code: echo &words=.$rs['pw'].&; Output: &words=Help|Good Notice that
I have a code base that can be customized for different customers. This is
Now I do have a hw question for everyone...I've been staring at this for
Now I have a function that has to return a string. I saw a
My code is littered with things like this Write (thePhpFile, ' echo <option value=\'
I have the following code... $stored_date = date_format(date_create('now'), 'Y-m-d H:i:s'); echo 'Stored date: '
PHP code: echo hash('sha256', 'jake'); PHP output: cdf30c6b345276278bedc7bcedd9d5582f5b8e0c1dd858f46ef4ea231f92731d Java code: String s = jake;
I've got a flexible block of code that allows me to print the results
I have an AJAX script that receives a string from a mySQL query returned
My method looks like: public string DoObjectProperties<T>(T obj, string text) { } Now from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.