---
title: "Discussion on \"The Difference Between self::, static::, and parent:: in PHP\" | Hashnode"
description: "Discussion on \"The Difference Between self::, static::, and parent:: in PHP\". When working with PHP code, you may often come across parent::, static::, and self::. But when you're first starting out as a developer, it can sometimes be"
url: "https://hashnode.com/posts/the-difference-between-self-static-and-parent-in-php/63bf6d3964aadefcff5dd7fd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Difference Between self::, static::, and parent:: in PHP](https://eplus.dev/the-difference-between-self-static-and-parent-in-php?utm_source=hashnode&utm_medium=feed)

When working with PHP code, you may often come across parent::, static::, and self::. But when you're first starting out as a developer, it can sometimes be

Jan 12, 2023 · 8 min read · eplus.dev  
Updated Oct 16, 2024  
Read the article

## Written by

[David Nguyen](https://hashnode.com/@hoangit)

@hoangit · Ho Chi Minh, Vietnam

  
[View profile](https://hashnode.com/@hoangit)

hoangit

A passionate full-stack developer from @ePlus.DEV

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
