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 8338885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:43:44+00:00 2026-06-09T04:43:44+00:00

The issue started with this question: Why does this `$_SESSION = $_POST` fail? After

  • 0

The issue started with this question: Why does this `$_SESSION = $_POST` fail?

After some time I found that my problem described in that question is caused by the comment // in PHP (as described in the last update in the question).

I suspect my editor Notepad++ to have some kind of influence on this.

As an example, if I write:

<?
echo "test1<br>";
echo "test2<br>";
echo "test3<br>";
// Comment
echo "test4<br>";
echo "test5<br>";
?>
<?
echo "test6<br>";
echo "test7<br>";
echo "test8<br>";
?>

everything after the comment // Comment inside the current <?...?> is ignored. The output to the above is thus:

test1
test2
test3
test6
test7
test8

The other kind of comments /*...*/ works fine.

Strangely it only happens on comments that I edit or create. All other untouched comments do no harm. There might be some Notepad++ setting causing this that I don’t know of. If have experienced before that “invisible” things happen when you fiddle around with the program, so I might have done something wrong at somepoint.

Any suggestions?

  • 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-06-09T04:43:45+00:00Added an answer on June 9, 2026 at 4:43 am

    Check your line endings! Save the file with unix style line endings. (Edit > EOL Conversion > UNIX format)

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

Sidebar

Related Questions

Easy question this time. I'm trying to test whether or not a string does
This is a really strange issue. One day my project started to do a
I'm helping a colleague with a recurring issue that's just started happening to multiple
This question came about as a result of some mixed-language programming. I had a
Just a question that came up from time to time at my old job
I just spent quite some time trying to resolve a virtual attribute issue in
This question is relating to a specific functionality that a client has requested for
While researching the issue of JSON vs XML , I came across this question
I started with this question: ( how-to-compare-liststring-to-db-table-using-linq ). Using the solution offered there, it
This question is for all NoSQL and specially mongoDB experts out there. I started

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.