elstgav
elstgav

Reputation: 1061

What Does :!: Mean?

I saw :!: in a PHP code snippet and am unfamiliar with it. Here's an example in context:

:!: $fullname = $_FILES['uploadedfile']['name'];

From: http://forum.mamp.info/viewtopic.php?f=6&t=13273

Upvotes: -1

Views: 381

Answers (2)

Alex
Alex

Reputation: 34978

This is not valid PHP

php > :!: $fullname = $_FILES['uploadedfile']['name'];

Parse error: syntax error, unexpected ':' in php shell code on line 1

Maybe in the forum they wanted to mark the link.

Upvotes: 4

Mikulas Dite
Mikulas Dite

Reputation: 7941

It is most certainly not a valid PHP.

As far as I am concerned, it is either a typo or a custom 3rd party extension.

Upvotes: 4

Related Questions