![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/root/opt/cpanel/ea-php81/root/usr/share/tests/pecl/imagick/tests/ |
--TEST-- Test PECL bug #21229 --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php class ImagickTest extends Imagick { /* Protected property */ protected $test; /* Override width property */ public $width = 112233; public function setTestValue($value) { $this->test = $value; return $this; } public function getTestValue() { return $this->test; } } $test = new ImagickTest("magick:logo"); $test->setTestValue("test value"); echo "Value: " , $test->getTestValue() , PHP_EOL; var_dump($test->width, $test->height); echo "OK" , PHP_EOL; ?> --EXPECTF-- Value: test value int(112233) int(%d) OK