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

  • Home
  • SEARCH
  • 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 535667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:44:27+00:00 2026-05-13T09:44:27+00:00

I and lately I’m seeing h() and e() functions in PHP. I have googled

  • 0

I and lately I’m seeing h() and e() functions in PHP. I have googled them, but they are so short that results don’t give any idea of what they are. I got results like exponential or math related functions. For example:

<td><?php echo h($room['Room']['message']) ?></td>

Does anyone have an idea? or maybe they are not called functions? (I think I read about that very long ago, but I can remember its real name)

ADDED:

Thanks, for the replies. I am using CakePHP and also found an e() example:

<?php e($time->niceShort($question['Question'] ['created'])) ?>

If they were escaping somehow strings I think it would make sense, since I always see them right next the "echo"

I still don’t know what they are ;(

  • 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-13T09:44:27+00:00Added an answer on May 13, 2026 at 9:44 am

    It looks like it might be CakePHP.

    See e()

    e (mixed $data)

    Convenience wrapper for echo().

    This has been Deprecated and will be removed in 2.0 version. Use
    echo() instead.

    See h()

    h (string $text, string $charset = null)

    Convenience wrapper for htmlspecialchars().

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

Sidebar

Related Questions

Lately I have become a huge fan of XSL, XPath and XML, but I've
Lately I've been wondering if there's a difference between initializing the variables that have
Lately I have started to put more and more functions into header files, mostly
Lately I have been finding that some of the ColdFusion applications on my production
Lately I have been doing a security pass on a PHP application and I've
Lately I have been seeing an increasing number of design articles encouraging the use
Lately, when using my TCP/IP Server and Client, I has noticed that they both
Lately I have come to realize that I should know some of Java for
Lately I have installed Windows Phone 7 developement tools and noticed that VS2010 unable
Lately I have been trying my hands on Eclipse IDE for java development. I

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.