Skip to content

Commit e18e7a5

Browse files
committed
remove "PHP 6" staff
1 parent 18cc538 commit e18e7a5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/phar/dirstream.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,7 @@ static int phar_compare_dir_name(const void *a, const void *b TSRMLS_DC) /* {{{
168168

169169
f = *((Bucket **) a);
170170
s = *((Bucket **) b);
171-
#if (PHP_MAJOR_VERSION < 6)
172171
result = zend_binary_strcmp(f->arKey, f->nKeyLength, s->arKey, s->nKeyLength);
173-
#else
174-
result = zend_binary_strcmp(f->key.arKey.s, f->nKeyLength, s->key.arKey.s, s->nKeyLength);
175-
#endif
176172

177173
if (result < 0) {
178174
return -1;

0 commit comments

Comments
 (0)