]> granicus.if.org Git - php/commitdiff
Extend skipif check
authorAnatol Belski <ab@php.net>
Tue, 13 Feb 2018 13:04:51 +0000 (14:04 +0100)
committerAnatol Belski <ab@php.net>
Tue, 13 Feb 2018 13:04:51 +0000 (14:04 +0100)
ext/opcache/tests/jmp_elim_001.phpt

index 69974a1fa0f10a48caea21b00f7ca580e7a60385..64a9af266fb5e467d51c15abe5b2bc4059ed9fd7 100644 (file)
@@ -2,6 +2,7 @@
 Edge-cases in constant conditional jump elimination
 --SKIPIF--
 <?php if (PHP_INT_SIZE != 8) die("skip for machines with 64-bit longs"); ?>
+<?php if (!extension_loaded("json")) print "skip"; ?>
 <?php require_once('skipif.inc'); ?>
 --FILE--
 <?php