summaryrefslogtreecommitdiff
path: root/vendor/kzykhys/pygments/test/KzykHys/Pygments/Resources/example/php.php.in
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/kzykhys/pygments/test/KzykHys/Pygments/Resources/example/php.php.in')
-rw-r--r--vendor/kzykhys/pygments/test/KzykHys/Pygments/Resources/example/php.php.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/kzykhys/pygments/test/KzykHys/Pygments/Resources/example/php.php.in b/vendor/kzykhys/pygments/test/KzykHys/Pygments/Resources/example/php.php.in
new file mode 100644
index 00000000..b5d94041
--- /dev/null
+++ b/vendor/kzykhys/pygments/test/KzykHys/Pygments/Resources/example/php.php.in
@@ -0,0 +1,21 @@
+<?php
+
+class Foo
+{
+ const TEST_CONST = 1;
+
+ public static $staticProperty = null;
+
+ public $property = null;
+
+ public static function staticMethod()
+ {
+ return new static();
+ }
+
+ public function method()
+ {
+ return $this;
+ }
+
+} \ No newline at end of file