mirror of
https://github.com/php-win-ext/phpy.git
synced 2026-03-24 17:02:15 +01:00
19 lines
395 B
PHP
19 lines
395 B
PHP
<?php
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class ZendTest extends TestCase
|
|
{
|
|
function testZendObject()
|
|
{
|
|
$dict = PyCore::dict();
|
|
$zojb = new stdClass();
|
|
$dict['zend_object'] = $zojb;
|
|
|
|
$m = PyCore::import('app.user');
|
|
|
|
$type = strval($m->get_type($dict, 'zend_object'));
|
|
$this->assertStringStartsWith('<zend_object object at', $type);
|
|
}
|
|
}
|