Jump to content

CenapaTop

Newbie
  • Posts

    4
  • Joined

  • Last visited

CenapaTop's Achievements

Explorer

Explorer (1/14)

0

Reputation

  1. <a href="/index.php?news='.$row['id'].'">Подробней<[color="#FF0000"]/[/color]a>
  2. CenapaTop

    Изучаю PHP

    <?php class Test { function __get($new_var) { echo "вызов неопределенного свойства: $new_var<BR>"; } function __set($new_var, $value) { $this->$new_var = $value; echo "новое свойство: $new_var = $value<BR>"; } } $test = new Test; echo $test->unknown; # работает метод __get() echo $test->unknown = 12345; # работает метод __set() ?>
  3. http://www.linkexchanger.su/2009/82.html
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy