1.0.1 • Published 6 years ago

pphp v1.0.1

Weekly downloads
6
License
GPL-3.0
Repository
github
Last release
6 years ago

pphp

Example:

Source In

This package in developer mode!!
@php

@class Test

	@var+ $testPublic = array();
	@var- $testPrivate = 20;
	@var. $testProtected = 'test';

	@var(static). $testStatic = 'static';

	@function+ test()

		@foreach(@this.test as $key => $val)

			echo $key.$val;

		@end

	@end

	@function(static)- staticTest($test)

		@if($test)

			return true;

		@end

	@end

@end

Source Out

<?php

class Test{

	public $testPublic = array();
	private $testPrivate = 20;
	protected $testProtected = 'test';

	protected static $testStatic = 'static';

	public function test(){

		foreach($this->test as $key => $val){

			echo $key.$val;

		}

	}

	private static function staticTest($test){

		if($test){

			return true;

		}

	}

}
1.0.1

6 years ago

1.0.0

6 years ago