3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Transliterator { const FORWARD = 0; const REVERSE = 1; public $id; public function __construct() { } /** * @param string $id * @param int $direction * @return Transliterator */ public static function create( $id, $direction = 0 ) { } /** * @param string $id * @param int $direction * @return Transliterator */ public static function createFromRules( $rules, $direction = 0 ) { } /** * @return Transliterator */ public function createInverse() { } /** * @return int */ public function getErrorCode() { } /** * @return string */ public function getErorMessage() { } /** * @return array */ public static function listIDs() { } /** * @param string $subject * @param int $start * @param int $end * @return string */ public function transliterate( $subject, $start = 0, $end = -1 ) { } }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.10.0110.00020.63
8.3.140.0040.00416.72
8.3.130.0000.00816.61
8.3.120.0040.00420.91
8.3.110.0080.00018.43
8.3.100.0100.00316.23
8.3.90.0040.00418.58
8.3.80.0100.00018.53
8.3.70.0040.01118.39
8.3.60.0030.01318.55
8.3.50.0110.00517.37
8.3.40.0120.00318.67
8.3.30.0090.00618.71
8.3.20.0040.00421.73
8.3.10.0060.00321.90
8.3.00.0070.00021.60
8.2.260.0150.00616.61
8.2.250.0100.01018.32
8.2.240.0070.00717.04
8.2.230.0100.00320.94
8.2.220.0090.00024.06
8.2.210.0070.00326.77
8.2.200.0060.00316.75
8.2.190.0110.00716.58
8.2.180.0160.00616.32
8.2.170.0120.00918.96
8.2.160.0100.00322.96
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0040.00420.77
8.2.110.0070.00320.95
8.2.100.0090.00317.91
8.2.90.0000.00817.97
8.2.80.0030.00617.97
8.2.70.0040.00417.80
8.2.60.0000.00818.09
8.2.50.0050.00318.10
8.2.40.0060.00319.17
8.2.30.0040.00420.41
8.2.20.0070.00018.05
8.2.10.0070.00019.37
8.2.00.0070.00017.88
8.1.300.0130.00618.48
8.1.290.0060.00318.88
8.1.280.0090.00625.92
8.1.270.0040.00718.39
8.1.260.0100.00726.35
8.1.250.0070.00028.09
8.1.240.0030.00623.90
8.1.230.0070.00420.89
8.1.220.0080.00017.74
8.1.210.0000.00818.97
8.1.200.0030.00517.23
8.1.190.0080.00017.23
8.1.180.0030.00518.10
8.1.170.0040.00418.53
8.1.160.0030.00518.81
8.1.150.0040.00418.82
8.1.140.0070.00018.82
8.1.130.0000.00720.24
8.1.120.0000.00717.28
8.1.110.0050.00317.37
8.1.100.0080.00017.36
8.1.90.0030.00517.46
8.1.80.0000.00717.30
8.1.70.0070.00317.39
8.1.60.0060.00317.41
8.1.50.0020.00517.43
8.1.40.0090.00017.34
8.1.30.0030.00617.54
8.1.20.0000.00817.59
8.1.10.0000.00717.30
8.1.00.0040.00417.21
8.0.300.0050.00219.96
8.0.290.0030.00616.63
8.0.280.0030.00318.37
8.0.270.0070.00017.22
8.0.260.0000.00618.39
8.0.250.0030.00316.91
8.0.240.0000.00716.82
8.0.230.0070.00016.94
8.0.220.0030.00316.93
8.0.210.0070.00016.77
8.0.200.0060.00016.93
8.0.190.0000.00816.92
8.0.180.0040.00416.87
8.0.170.0050.00316.84
8.0.160.0000.00716.78
8.0.150.0070.00016.86
8.0.140.0070.00016.76
8.0.130.0030.00313.18
8.0.120.0040.00416.86
8.0.110.0000.00816.93
8.0.100.0000.00716.85
8.0.90.0040.00416.88
8.0.80.0050.01116.88
8.0.70.0000.00816.90
8.0.60.0070.00016.87
8.0.50.0040.00416.80
8.0.30.0080.01117.00
8.0.20.0110.01017.11
8.0.10.0070.00016.87
8.0.00.0090.00816.70
7.4.330.0030.00315.55
7.4.320.0000.00616.52
7.4.300.0080.00016.51
7.4.290.0070.00016.44
7.4.280.0000.00816.33
7.4.270.0030.00316.45
7.4.260.0040.00416.47
7.4.250.0030.00316.34
7.4.240.0050.00216.43
7.4.230.0000.00716.32
7.4.220.0070.00016.44
7.4.210.0080.00816.50
7.4.200.0040.00416.55
7.4.160.0130.00416.49
7.4.130.0120.00616.34
7.4.120.0150.00716.40
7.4.110.0080.00816.41
7.4.100.0130.00616.52
7.4.90.0060.01116.29
7.4.80.0120.01219.39
7.4.70.0080.01116.56
7.4.60.0070.01016.33
7.4.50.0060.01016.21
7.4.40.0070.01016.60
7.4.00.0090.00714.75
7.3.330.0000.00513.11
7.3.320.0000.00513.04
7.3.310.0070.00016.27
7.3.300.0000.00716.19
7.3.290.0070.00716.25
7.3.280.0060.01116.18
7.3.260.0120.00516.43
7.3.240.0080.01116.42
7.3.230.0130.00316.34
7.3.210.0110.00616.38
7.3.200.0030.01316.64
7.3.190.0040.01216.38
7.3.180.0080.01116.40
7.3.170.0080.01616.43
7.3.160.0150.00316.35
7.3.120.0070.00814.52
7.3.110.0080.00714.87
7.3.100.0090.00614.78
7.3.90.0070.00514.61
7.3.80.0080.00614.79
7.3.70.0030.01114.61
7.3.60.0090.00214.66
7.3.50.0050.00714.88
7.3.40.0080.00614.63
7.3.30.0070.00814.59
7.3.20.0320.00815.50
7.3.10.0080.00915.72
7.3.00.0110.00615.75
7.2.330.0070.01016.23
7.2.320.0030.01916.59
7.2.310.0140.00316.49
7.2.300.0070.01116.22
7.2.290.0070.01316.54
7.2.250.0100.00614.76
7.2.240.0050.01014.76
7.2.230.0050.00814.53
7.2.220.0030.00814.73
7.2.210.0040.00714.58
7.2.200.0050.00614.88
7.2.190.0080.00514.77
7.2.180.0060.00814.95
7.2.170.0050.00914.69
7.2.160.0080.00714.86
7.2.150.0150.00615.71
7.2.140.0140.00615.78
7.2.130.0090.00715.88
7.2.120.0090.00715.86
7.2.110.0100.00715.78
7.2.100.0090.00815.83
7.2.90.0120.00615.84
7.2.80.0110.00715.76
7.2.70.0090.01015.81
7.2.60.0060.01015.81
7.2.50.0110.00715.83
7.2.40.0190.00815.91
7.2.30.0090.00615.86
7.2.20.0120.00815.86
7.2.10.0130.00515.76
7.2.00.0080.00615.90
7.1.330.0070.00515.60
7.1.320.0050.00715.65
7.1.310.0030.00615.55
7.1.300.0050.00815.71
7.1.290.0070.00715.67
7.1.280.0090.00714.51
7.1.270.0090.00914.42
7.1.260.0070.00814.82
7.1.250.0070.00714.74

preferences:
58.68 ms | 403 KiB | 5 Q