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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:28:48+00:00 2026-06-04T12:28:48+00:00

Var_dump result: object(stdClass)#2 (1) { [0]=> array(5) { [title]=> string(71) Tarihte Bugün Neler Olmuş?

  • 0

Var_dump result:

object(stdClass)#2 (1) {
 [0]=>
  array(5) {
    ["title"]=>
    string(71) "Tarihte Bugün Neler Olmuş? Bugünün önemli olayları! | Ttbugun.com"
    ["keywords"]=>
    string(47) "tarih,tarih dersi,tarihte bugün,günün sözü"
    ["description"]=>
    string(69) "Tarihte bugün olan olaylar ve diğer tarihi olayların hepsi burada."
    ["author"]=>
    string(17) "Yusuf Ali Bozkır"
    ["id"]=>
    string(1) "1"
  }
}

using var_dump:

var_dump($header->headers);

How can i print title,description and others?

  • 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-04T12:28:50+00:00Added an answer on June 4, 2026 at 12:28 pm

    try this

    echo $header->headers{0}['title'];
    echo $header->headers{0}['keyword'];
    echo $header->headers{0}['description'];
    echo $header->headers{0}['author'];
    echo $header->headers{0}['id'];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here is the result of var_dump($my_var[id]) on the object I'm having issues with: array(1)
HI, I got two array. var_dump($tbDateArr); var_dump($tbTitleArr); output: array 0 => object(stdClass)[16] public 'eventDate'
I used var_dump on an object in my code. print var_dump( $$user); result: object(stdClass)#35
var_dump('<a>') // or var_dump(<a>) // or var_dump(\x3Ca>) // all result in string(3) What is
I have an object array $this->result When I echo $this->result I get Array .
Here is my string $newPath = '/~new/assets/js/../packages/prettyphoto/js/jquery.prettyPhoto.js'; Now check this output var_dump($newPath); // string(64)
I have one object being the result of a database query, looking something like
I'm having unexpected results when converting a namespaced object to an array. <?php namespace
I have an array of results from a query in a variable called $result
I have an object as this: object(stdClass)#27 (1) { [0] => object(stdClass)#26 (6) {

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.