<?php

class test
{
	public static function run()
	{
		echo "Number is: ".$num;
	}
}

class testchild extends test
{
	protected static $num = 5;
	public static function exec()
	{
		$num = 5;
		parent::run();
	}
}

testchild::exec();
