Skip to content
Blog.jws

Blog.jws

  • Home

Tag: print_r

PHP function of the day: print_r()

May 25, 2020
Leave a comment

For day 17 of 21 in the “PHP Function of the day” series, I’m going to look at print_r(). We have already used print_r() on days 4, 5, and 11. Let’s take a look. <?php $num = 123; $str = “Joe”; $arr = array(1, 2, 3); print_r($num); print_r($str); print_r($arr); ?>   See the output   As you …

Continue reading "PHP function of the day: print_r()" →
Categories icon Coding
Tags icon PHP, print_r

Recent Posts

  • How to use Mapbox to convert from coordinates to address and back again
  • How I get my news, these days
  • How to autofill an address using mapbox
  • How to calculate the sunset and sunrise times in JavaScript
  • I might have been spending a lot of time on Mastodon

Categories

  • 3D Printing
  • Coding
  • Drone
  • Food
  • Hardware
  • MBA
  • Miscellanea
  • Movies
  • Pets
  • Photography
  • Security
  • Software
  • Travel
Penguin WordPress Theme made by WPZOO
Go to mobile version