1--TEST-- 2Explicit set property hook $value parameter 3--FILE-- 4<?php 5 6class Test { 7 public $prop { 8 set($customName) { 9 var_dump($customName); 10 } 11 } 12} 13 14$test = new Test(); 15$test->prop = 42; 16 17?> 18--EXPECT-- 19int(42) 20