Alternative to print_r

  • baligena
  • Novice
  • Novice
  • No Avatar
  • Joined: Apr 15, 2011
  • Posts: 25
  • Status: Offline

Post April 20th, 2011, 3:10 pm

What is the alternative to print_r in php?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 20th, 2011, 3:10 pm

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post April 20th, 2011, 3:53 pm

What are you trying to do?
#define NULL (::rand() % 2)
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post April 20th, 2011, 5:25 pm

var_dump, maybe? Possibly print_r with the second argument set to true so it returns instead of prints?
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 256 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.