3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Yiisoft\Validator\Rule; class InRange { public function getName(): string { $class = static::class; return substr($class, strrpos($class, '\\') + 1); } } $validator = new InRange(); echo $validator->getName();

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.120.0110.00820.46
8.4.110.0100.01022.67
8.4.100.0140.00617.52
8.4.90.0040.00518.86
8.4.80.0090.00217.82
8.4.70.0130.00717.67
8.4.60.0100.01018.81
8.4.50.0090.01017.91
8.4.40.0070.01120.75
8.4.30.0040.00418.74
8.4.20.0120.00422.46
8.4.10.0060.00320.86
8.3.250.0100.00818.80
8.3.240.0110.00820.75
8.3.230.0070.00916.53
8.3.220.0090.01017.05
8.3.210.0090.00816.57
8.3.200.0040.00516.64
8.3.190.0100.00817.20
8.3.180.0090.00518.29
8.3.170.0160.00319.13
8.3.160.0140.00418.34
8.3.150.0100.00720.47
8.3.140.0040.00416.79
8.3.130.0000.00817.19
8.3.120.0060.00319.10
8.3.110.0060.00616.81
8.3.100.0030.00616.78
8.3.90.0080.00818.11
8.3.80.0060.00319.36
8.3.70.0000.01518.43
8.3.60.0040.01116.75
8.3.50.0110.00923.58
8.3.40.0120.00321.14
8.3.30.0110.00318.72
8.3.20.0040.00424.18
8.3.10.0000.00924.66
8.3.00.0040.00426.16
8.2.290.0050.00620.26
8.2.280.0060.00220.19
8.2.270.0120.00618.80
8.2.260.0080.00018.50
8.2.250.0050.00316.53
8.2.240.0060.00318.46
8.2.230.0060.00320.94
8.2.220.0060.00324.06
8.2.210.0110.00726.77
8.2.200.0030.00616.50
8.2.190.0180.00616.63
8.2.180.0130.00325.92
8.2.170.0100.01019.04
8.2.160.0100.00722.96
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00226.35
8.2.110.0030.00720.39
8.2.100.0090.00317.72
8.2.90.0020.00520.58
8.2.80.0000.00917.97
8.2.70.0080.00017.68
8.2.60.0030.00718.16
8.2.50.0000.01018.10
8.2.40.0000.00719.38
8.2.30.0000.00719.16
8.2.20.0040.00418.02
8.2.10.0030.00619.16
8.2.00.0000.00819.15
8.1.330.0080.00322.09
8.1.320.0080.01115.96
8.1.310.0090.00616.57
8.1.300.0060.00315.97
8.1.290.0030.00618.88
8.1.280.0110.00425.92
8.1.270.0060.00323.99
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0040.00423.91
8.1.230.0110.00020.97
8.1.220.0040.00417.74
8.1.210.0030.00619.01
8.1.200.0090.00017.35
8.1.190.0040.00417.22
8.1.180.0050.00318.10
8.1.170.0080.00018.53
8.1.160.0040.00419.07
8.1.150.0070.00018.78
8.1.140.0040.00418.69
8.1.130.0030.00320.02
8.1.120.0070.00017.37
8.1.110.0000.00817.40
8.1.100.0040.00417.35
8.1.90.0040.00417.43
8.1.80.0030.00717.37
8.1.70.0070.00017.40
8.1.60.0000.00817.57
8.1.50.0040.00417.48
8.1.40.0080.00017.39
8.1.30.0040.00417.59
8.1.20.0020.00517.64
8.1.10.0000.00817.48
8.1.00.0040.00417.38
8.0.300.0040.00420.03
8.0.290.0040.00416.63
8.0.280.0040.00418.44
8.0.270.0070.00018.00
8.0.260.0000.00618.50
8.0.250.0000.00816.98
8.0.240.0050.00316.95
8.0.230.0070.00016.77
8.0.220.0000.00816.80
8.0.210.0030.00316.82
8.0.200.0040.00416.85
8.0.190.0040.00416.91
8.0.180.0040.00416.87
8.0.170.0030.00616.83
8.0.160.0000.00716.75
8.0.150.0070.00016.82
8.0.140.0050.00216.75
8.0.130.0000.00513.29
8.0.120.0060.00316.79
8.0.110.0050.00216.80
8.0.100.0040.00416.66
8.0.90.0040.00416.76
8.0.80.0060.01116.76
8.0.70.0040.00416.76
8.0.60.0040.00416.76
8.0.50.0040.00416.77
8.0.30.0160.00017.35
8.0.20.0150.00316.97
8.0.10.0040.00416.77
8.0.00.0130.00616.77
7.4.330.0050.00015.55
7.4.320.0070.00016.45
7.4.300.0000.00616.42
7.4.290.0000.00616.50
7.4.280.0050.00216.57
7.4.270.0040.00416.53
7.4.260.0000.00513.25
7.4.250.0000.00716.53
7.4.240.0040.00416.56
7.4.230.0070.00016.59
7.4.220.0050.00216.58
7.4.210.0080.00616.63
7.4.200.0000.00716.46
7.4.130.0110.00716.57
7.4.120.0130.00316.38
7.4.110.0030.01416.57
7.4.100.0120.00616.29
7.4.90.0040.01216.34
7.4.80.0140.00316.28
7.4.70.0060.01216.27
7.4.60.0120.00616.47
7.4.50.0090.01216.23
7.4.40.0100.00716.40
7.4.30.0090.00916.40
7.4.20.0250.00016.50
7.4.10.0090.01216.32
7.4.00.0030.01416.43
7.3.330.0040.00416.19
7.3.320.0060.00013.33
7.3.310.0030.00316.39
7.3.300.0030.00316.29
7.3.290.0070.00916.22
7.3.260.0090.00916.22
7.3.230.0040.01216.46
7.3.220.0060.01116.36
7.3.210.0100.00716.32
7.3.200.0110.01116.27
7.3.190.0140.00916.23
7.3.180.0070.01116.32
7.3.170.0030.01316.36
7.3.160.0070.01016.30
7.3.150.0130.00316.27
7.3.140.0140.00316.18
7.3.130.0070.01016.27
7.3.120.0170.00016.41
7.3.110.0100.00616.39
7.3.100.0110.00616.22
7.3.90.0090.00816.20
7.3.80.0150.00316.32
7.3.70.0090.00916.40
7.3.60.0060.01116.25
7.3.50.0090.00616.34
7.3.40.0130.00416.27
7.3.30.0120.00616.21
7.3.20.0160.00816.25
7.3.10.0060.01316.27
7.3.00.0120.00616.34
7.2.330.0040.01416.47
7.2.320.0150.00316.65
7.2.310.0100.00716.62
7.2.300.0160.00616.39
7.2.290.0070.01516.71
7.2.280.0070.01016.72
7.2.270.0100.01416.48
7.2.260.0170.00716.52
7.2.250.0150.00316.59
7.2.240.0100.00716.58
7.2.230.0100.00716.49
7.2.220.0110.00716.65
7.2.210.0030.01416.77
7.2.200.0120.00616.50
7.2.190.0090.00916.53
7.2.180.0080.00816.59
7.2.170.0150.00416.57
7.2.160.0140.01016.55
7.2.150.0110.01516.68
7.2.140.0120.00616.71
7.2.130.0030.01916.69
7.2.120.0100.01316.57
7.2.110.0000.02216.60
7.2.100.0090.01316.66
7.2.90.0290.01616.77
7.2.80.0130.01016.41
7.2.70.0120.01116.53
7.2.60.0100.01316.44
7.2.50.0060.01216.59
7.2.40.0100.01016.65
7.2.30.0120.00816.53
7.2.20.0030.01516.45
7.2.10.0130.01016.53
7.2.00.0070.01416.59

preferences:
123.53 ms | 403 KiB | 5 Q