3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class_name = 'snort'; echo "wrap" . (is_null($class_name) ? '' : " $class_name");

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.3.60.0060.01316.48
8.3.50.0100.00821.93
8.3.40.0150.00018.59
8.3.30.0120.00318.92
8.3.20.0070.00020.20
8.3.10.0040.00423.59
8.3.00.0050.00320.95
8.2.180.0070.00716.32
8.2.170.0080.00522.96
8.2.160.0110.00420.22
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0160.00326.16
8.2.120.0070.00022.03
8.2.110.0050.00322.05
8.2.100.0080.00317.78
8.2.90.0050.00319.05
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0030.00518.03
8.2.50.0040.00418.07
8.2.40.0050.00318.22
8.2.30.0080.00318.03
8.2.20.0040.00417.52
8.2.10.0040.00417.55
8.2.00.0040.00417.54
8.1.280.0100.01025.92
8.1.270.0080.00023.91
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0110.00623.75
8.1.230.0040.00719.22
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0030.00717.35
8.1.190.0000.00817.30
8.1.180.0060.00318.10
8.1.170.0040.00418.59
8.1.160.0000.00721.94
8.1.150.0040.00418.60
8.1.140.0050.00317.25
8.1.130.0040.00417.68
8.1.120.0070.00017.43
8.1.110.0000.00817.27
8.1.100.0040.00417.22
8.1.90.0000.00717.26
8.1.80.0060.00317.28
8.1.70.0000.00717.29
8.1.60.0050.00317.38
8.1.50.0080.00017.35
8.1.40.0040.00417.32
8.1.30.0040.00417.53
8.1.20.0040.00417.44
8.1.10.0070.00017.49
8.1.00.0040.00417.41
8.0.300.0000.00818.77
8.0.290.0030.00317.30
8.0.280.0000.00718.40
8.0.270.0030.00317.23
8.0.260.0080.00016.80
8.0.250.0030.00316.98
8.0.240.0030.00316.98
8.0.230.0030.00716.82
8.0.220.0000.00716.88
8.0.210.0030.00516.87
8.0.200.0070.00016.95
8.0.190.0040.00416.91
8.0.180.0040.00416.79
8.0.170.0040.00416.80
8.0.160.0070.00016.77
8.0.150.0030.00316.71
8.0.140.0040.00416.72
8.0.130.0060.00013.30
8.0.120.0060.00316.74
8.0.110.0040.00416.86
8.0.100.0040.00416.73
8.0.90.0030.00316.71
8.0.80.0040.01116.83
8.0.70.0050.00216.84
8.0.60.0030.00516.81
8.0.50.0040.00416.85
8.0.30.0140.00616.99
8.0.20.0050.01417.40
8.0.10.0000.00816.85
8.0.00.0140.00716.70
7.4.330.0020.00215.00
7.4.320.0000.00716.54
7.4.300.0070.00016.34
7.4.290.0070.00016.55
7.4.280.0040.00316.52
7.4.270.0070.00016.53
7.4.260.0040.00416.48
7.4.250.0040.00416.48
7.4.240.0040.00416.48
7.4.230.0030.00316.27
7.4.220.0200.00316.51
7.4.210.0080.00816.43
7.4.200.0030.00316.17
7.4.190.0040.00416.69
7.4.160.0100.00616.49
7.4.150.0110.00717.40
7.4.140.0090.01117.86
7.4.130.0090.00816.51
7.4.120.0110.00616.35
7.4.110.0070.01416.55
7.4.100.0120.00616.42
7.4.90.0060.01016.34
7.4.80.0130.00319.39
7.4.70.0130.00316.45
7.4.60.0000.01916.46
7.4.50.0050.00316.49
7.4.40.0070.01022.77
7.4.30.0080.00816.50
7.4.00.0100.00714.86
7.3.330.0000.00513.07
7.3.320.0020.00213.14
7.3.310.0030.00316.13
7.3.300.0000.00616.27
7.3.290.0090.00616.27
7.3.280.0060.01116.25
7.3.270.0070.01017.40
7.3.260.0060.00916.23
7.3.250.0130.00616.34
7.3.240.0060.01616.29
7.3.230.0100.00616.50
7.3.210.0030.01716.45
7.3.200.0090.00919.39
7.3.190.0060.01516.48
7.3.180.0070.01016.46
7.3.170.0040.01216.35
7.3.160.0140.00316.59
7.3.120.0080.00614.88
7.3.110.0140.00414.66
7.3.100.0060.01214.63
7.3.90.0030.00714.75
7.3.80.0000.01514.79
7.3.70.0120.00914.87
7.3.60.0070.00714.75
7.3.50.0030.01414.64
7.3.40.0090.00314.62
7.3.30.0070.01014.61
7.3.20.0030.01316.65
7.3.10.0040.01016.66
7.3.00.0120.00416.57
7.2.330.0150.00616.78
7.2.320.0070.01016.64
7.2.310.0070.01316.69
7.2.300.0000.01716.71
7.2.290.0100.00616.65
7.2.250.0070.01114.77
7.2.240.0040.01115.02
7.2.230.0030.01314.96
7.2.220.0030.01015.13
7.2.210.0030.01314.87
7.2.200.0030.01515.13
7.2.190.0060.00915.07
7.2.180.0070.00714.98
7.2.170.0030.01414.61
7.2.130.0070.00317.07
7.2.120.0070.00716.83
7.2.110.0030.00916.64
7.2.100.0030.00617.03
7.2.90.0030.01016.81
7.2.80.0000.01016.76
7.2.70.0080.00316.76
7.2.60.0040.01116.80
7.2.50.0120.00016.98
7.2.40.0030.00616.68
7.2.30.0090.00317.02
7.2.20.0040.00717.00
7.2.10.0000.00816.87
7.2.00.0060.00518.11
7.1.330.0090.00415.70
7.1.320.0040.01116.02
7.1.310.0090.00615.82
7.1.300.0110.00415.71
7.1.290.0030.01015.74
7.1.280.0000.00815.83
7.1.270.0060.00915.77
7.1.260.0080.01115.84
7.1.250.0090.00315.49
7.1.100.0060.00618.42
7.1.70.0050.00317.14
7.1.60.0100.01319.29
7.1.50.0100.01016.82
7.1.00.0030.07722.44
7.0.200.0000.00716.80
7.0.140.0030.07321.95
7.0.60.0030.04019.87
7.0.50.0130.03717.78
7.0.40.0070.04020.04
7.0.30.0330.07320.18
7.0.20.0270.04720.33
7.0.10.0300.07720.00
7.0.00.0030.04320.03
5.6.280.0100.06720.85
5.6.210.0030.08720.56
5.6.200.0170.07318.14
5.6.190.0100.03720.45
5.6.180.0070.06320.43
5.6.170.0230.04320.51
5.6.160.0070.07720.49
5.6.150.0100.08318.18
5.6.140.0070.05018.12
5.6.130.0030.05718.15
5.6.120.0000.09021.01
5.6.110.0070.05021.08
5.6.100.0200.08320.99
5.6.90.0070.06320.96
5.6.80.0070.07320.39
5.6.70.0230.05320.51
5.5.350.0070.07720.39
5.5.340.0070.08317.95
5.5.330.0070.05720.21
5.5.320.0070.07320.13
5.5.310.0330.06720.29
5.5.300.0170.06317.95
5.5.290.0000.08017.95
5.5.280.0030.04720.89
5.5.270.0230.06720.86
5.5.260.0170.07020.96
5.5.250.0070.08020.70
5.5.240.0070.08720.11
5.4.450.0300.04719.25
5.4.440.0200.04719.54
5.4.430.0170.04719.11
5.4.420.0170.08319.45
5.4.410.0230.07019.28
5.4.400.0270.05018.89
5.4.390.0170.05719.13
5.4.380.0230.05018.88
5.4.370.0230.05019.09
5.4.360.0170.05019.25
5.4.350.0330.03318.79
5.4.340.0330.06719.08
5.4.320.0230.06719.13
5.4.310.0270.04319.09
5.4.300.0230.05718.79
5.4.290.0230.05318.79
5.4.280.0430.05719.21
5.4.270.0270.05319.09
5.4.260.0270.04719.06
5.4.250.0170.04719.25
5.4.240.0130.05318.88
5.4.230.0230.07019.08
5.4.220.0170.04019.05
5.4.210.0230.03319.24
5.4.200.0300.03018.84
5.4.190.0270.07019.09
5.4.180.0270.06719.07
5.4.170.0170.04318.87
5.4.160.0230.05318.89
5.4.150.0270.07019.06
5.4.140.0230.07016.20
5.4.130.0170.04316.37
5.4.120.0270.04016.45
5.4.110.0200.04716.39
5.4.100.0330.06316.45
5.4.90.0270.06016.39
5.4.80.0230.06316.32
5.4.70.0370.05316.48
5.4.60.0200.03716.47
5.4.50.0170.07716.41
5.4.40.0230.06716.18
5.4.30.0270.06016.31
5.4.20.0200.07016.27
5.4.10.0170.07716.42
5.4.00.0230.05315.90
5.3.290.0330.06314.60
5.3.280.0170.05714.54
5.3.270.0170.04014.58
5.3.260.0170.05014.44
5.3.250.0270.06714.44
5.3.240.0230.05014.63
5.3.230.0270.04314.50
5.3.220.0270.04314.59
5.3.210.0200.07714.59
5.3.200.0230.04014.44
5.3.190.0230.05714.50
5.3.180.0200.06014.52
5.3.170.0300.06714.67
5.3.160.0300.05314.64
5.3.150.0270.06714.50
5.3.140.0230.06014.49
5.3.130.0100.06014.48
5.3.120.0130.04314.50
5.3.110.0230.06314.37
5.3.100.0230.04713.91
5.3.90.0270.06013.89
5.3.80.0300.04713.89
5.3.70.0270.03713.89
5.3.60.0270.05713.95
5.3.50.0270.03314.04
5.3.40.0170.05713.79
5.3.30.0100.03713.75
5.3.20.0200.07013.62
5.3.10.0270.04313.75
5.3.00.0200.05313.68
5.2.170.0170.03013.36
5.2.160.0100.03713.36
5.2.150.0170.05013.36
5.2.140.0070.05313.36
5.2.130.0200.05313.36
5.2.120.0230.05713.36
5.2.110.0100.04013.36
5.2.100.0200.03313.36
5.2.90.0170.04313.36
5.2.80.0170.05013.36
5.2.70.0200.04713.36
5.2.60.0200.04013.36
5.2.50.0270.05713.36
5.2.40.0130.03313.36
5.2.30.0130.04713.36
5.2.20.0170.05713.36
5.2.10.0130.05313.36
5.2.00.0230.05013.36
5.1.60.0230.04713.36
5.1.50.0200.04713.36
5.1.40.0130.05713.36
5.1.30.0200.05013.36
5.1.20.0230.04013.36
5.1.10.0130.03713.36
5.1.00.0170.05013.36
5.0.50.0100.04713.36
5.0.40.0130.04013.36
5.0.30.0100.06013.36
5.0.20.0070.04013.36
5.0.10.0070.04313.36
5.0.00.0070.04013.36
4.4.90.0070.02013.36
4.4.80.0030.02013.36
4.4.70.0100.02713.36
4.4.60.0070.02713.36
4.4.50.0070.02313.36
4.4.40.0100.05013.36
4.4.30.0100.03013.36
4.4.20.0130.01713.36
4.4.10.0070.03013.36
4.4.00.0100.04713.36
4.3.110.0070.03313.36
4.3.100.0070.03313.36
4.3.90.0130.02013.36
4.3.80.0030.03713.36
4.3.70.0070.03313.36
4.3.60.0130.01013.36
4.3.50.0070.01313.36
4.3.40.0030.02713.36
4.3.30.0000.01713.36
4.3.20.0000.01713.36
4.3.10.0000.02013.36
4.3.00.0030.01713.36

preferences:
49.31 ms | 401 KiB | 5 Q