I want to get variable from other file's class function.
Something like this :
file lang.php:
<?php
class lang
{
function get()
{
$dubs = "dubs";
?>
file print.php:
<?php
require("lang.php");
lang::get();
echo $dubs;
?>
But this returns nothing...