---
title: "Comment by Belal Elsayed on \"What is the difference between print-r(), var_dump(), and var_export() in PHP?\" | Hashnode"
description: "this article is awesome thanks a lot"
url: "https://hashnode.com/posts/what-is-the-difference-between-print-r-vardump-and-varexport-in-php/63eb6cffac56fc6d42a9164c/comment/65da3b16f3e813856a44ed11"
---

[Discussion](https://hashnode.com/posts/what-is-the-difference-between-print-r-vardump-and-varexport-in-php/63eb6cffac56fc6d42a9164c)

Comment [What is the difference between print-r(), var\_dump(), and var\_export() in PHP?](https://hashnode.com/posts/what-is-the-difference-between-print-r-vardump-and-varexport-in-php/63eb6cffac56fc6d42a9164c)

[Belal Elsayed](https://hashnode.com/@BELAL2024)

[Feb 24, 2024](https://hashnode.com/posts/what-is-the-difference-between-print-r-vardump-and-varexport-in-php/63eb6cffac56fc6d42a9164c/comment/65da3b16f3e813856a44ed11)

this article is awesome thanks a lot

[Habiba Wael](https://hashnode.com/@HabibaWael)

[Feb 25, 2024](https://hashnode.com/posts/what-is-the-difference-between-print-r-vardump-and-varexport-in-php/63eb6cffac56fc6d42a9164c/comment/65da3b16f3e813856a44ed11#reply-65daa7d989b395f04d325b5e)

Thank you for the comment. Happy to help!
