3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "1"; exit; echo "2";

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.1.70.0000.00817.27
8.1.60.0000.00917.52
8.1.50.0000.00817.45
8.1.40.0000.00817.40
8.1.30.0050.00217.57
8.1.20.0040.00417.46
8.1.10.0040.00417.43
8.1.00.0050.00317.21
8.0.200.0030.00316.80
8.0.190.0040.00416.83
8.0.180.0040.00416.72
8.0.170.0090.00016.73
8.0.160.0070.00016.86
8.0.150.0070.00016.68
8.0.140.0000.00716.66
8.0.130.0030.00313.19
8.0.120.0030.00616.74
8.0.110.0000.00716.87
8.0.100.0000.00816.66
8.0.90.0050.00316.68
8.0.80.0060.00916.79
8.0.70.0000.00816.63
8.0.60.0000.00716.66
8.0.50.0000.00716.70
8.0.30.0090.01117.02
8.0.20.0090.01317.04
8.0.10.0070.00016.79
8.0.00.0140.00516.54
7.4.300.0000.00616.48
7.4.290.0000.00716.31
7.4.280.0060.00316.46
7.4.270.0000.00816.27
7.4.260.0070.00016.49
7.4.250.0000.00716.33
7.4.240.0030.00516.31
7.4.230.0000.00716.56
7.4.220.0000.00716.45
7.4.210.0060.01016.53
7.4.200.0030.00316.46
7.4.160.0120.00816.33
7.4.130.0070.01016.34
7.4.120.0120.00616.41
7.4.110.0130.00716.38
7.4.100.0090.00916.29
7.4.90.0050.01316.45
7.4.80.0060.01117.73
7.4.70.0060.01116.37
7.4.60.0140.00316.43
7.4.50.0120.00716.17
7.4.40.0110.00516.38
7.4.30.0080.00816.43
7.4.20.0080.00916.46
7.4.10.0090.01116.16
7.4.00.0070.00815.66
7.3.330.0060.00013.02
7.3.320.0000.00513.05
7.3.310.0000.00716.17
7.3.300.0060.00016.21
7.3.290.0060.00016.17
7.3.280.0110.00416.21
7.3.260.0130.00516.25
7.3.240.0090.00816.31
7.3.230.0110.00616.21
7.3.220.0070.01016.08
7.3.210.0070.00916.35
7.3.200.0080.00916.25
7.3.190.0110.00616.29
7.3.180.0050.01216.25
7.3.170.0100.00716.30
7.3.160.0090.00716.21
7.3.150.0100.00616.25
7.3.140.0100.01016.16
7.3.130.0060.01316.14
7.3.120.0070.01016.20
7.3.110.0100.00716.26
7.3.100.0140.00316.20
7.3.90.0080.00816.08
7.3.80.0140.00316.38
7.3.70.0070.01116.09
7.3.60.0120.00715.41
7.3.50.0050.01315.44
7.3.40.0050.01215.49
7.3.30.0050.01215.41
7.3.20.0070.01315.54
7.3.10.0110.00815.33
7.3.00.0080.01115.30
7.2.340.0090.01016.30
7.2.330.0090.01016.34
7.2.320.0110.00616.37
7.2.310.0120.00716.46
7.2.300.0100.00716.43
7.2.290.0100.00616.34
7.2.280.0040.01216.54
7.2.270.0150.01216.52
7.2.260.0090.00916.28
7.2.250.0060.01216.32
7.2.240.0090.00916.25
7.2.230.0060.01616.20
7.2.220.0180.00616.13
7.2.210.0120.00616.36
7.2.200.0090.00916.54
7.2.190.0050.01015.31
7.2.180.0080.01015.44
7.2.170.0100.00815.73
7.2.160.0100.01215.68
7.2.150.0140.00515.72
7.2.140.0110.00715.49
7.2.130.0130.00515.71
7.2.120.0850.01115.73
7.2.110.0120.00615.51
7.2.100.0110.00615.71
7.2.90.0100.01315.66
7.2.80.0150.00415.57
7.2.70.0070.01115.64
7.2.60.0100.00815.53
7.2.50.0100.00615.59
7.2.40.0150.01015.58
7.2.30.0090.00715.71
7.2.20.0120.00915.40
7.2.10.0160.00515.84
7.2.00.0160.00515.62
7.1.330.0180.01215.27
7.1.320.0220.00715.47
7.1.310.0180.01015.44
7.1.300.0180.00514.75
7.1.290.0200.00614.65
7.1.280.0200.00514.34
7.1.270.0170.00814.52
7.1.260.0250.00514.58
7.1.250.0380.00714.43
7.1.240.0240.00915.42
7.1.230.0180.01115.43
7.1.220.0210.01115.41
7.1.210.0270.00315.37
7.1.200.0240.00615.34
7.1.190.0280.00015.50
7.1.180.0140.01415.35
7.1.170.0150.00315.43
7.1.160.0230.00915.29
7.1.150.0200.01415.46
7.1.140.0240.00715.47
7.1.130.0190.01215.36
7.1.120.0190.01615.30
7.1.110.0190.00815.38
7.1.100.0190.01015.39
7.1.90.0230.01015.36
7.1.80.0200.00815.31
7.1.70.0220.00815.54
7.1.60.0200.00915.46
7.1.50.0160.01615.55
7.1.40.0270.00615.60
7.1.30.0200.01015.38
7.1.20.0220.00815.48
7.1.10.0220.00915.43
7.1.00.0220.00615.36
7.0.330.0110.00715.07
7.0.320.0260.00615.11
7.0.310.0260.00314.90
7.0.300.0260.00314.99
7.0.290.0140.01415.16
7.0.280.0170.01014.98
7.0.270.0100.01815.17
7.0.260.0280.00015.24
7.0.250.0170.00915.09
7.0.240.0170.01215.02
7.0.230.0180.01115.14
7.0.220.0320.01015.07
7.0.210.0220.00715.33
7.0.200.0210.01015.02
7.0.190.0210.00915.13
7.0.180.0260.00715.16
7.0.170.0200.00815.10
7.0.160.0180.00915.18
7.0.150.0200.00815.15
7.0.140.0190.00815.08
7.0.130.0230.00315.00
7.0.120.0160.01215.06
7.0.110.0230.00815.01
7.0.100.0240.00615.07
7.0.90.0380.00615.20
7.0.80.0200.00915.01
7.0.70.0270.00515.07
7.0.60.0250.00715.10
7.0.50.0260.00715.14
7.0.40.0290.00914.87
7.0.30.0220.00815.11
7.0.20.0340.00315.16
7.0.10.0330.00015.00
7.0.00.0250.00614.87
5.6.400.0200.01215.99
5.6.390.0190.01615.89
5.6.380.0140.01515.97
5.6.370.0160.01315.91
5.6.360.0150.01515.89
5.6.350.0100.01915.71
5.6.340.0280.00715.63
5.6.330.0150.01515.56
5.6.320.0200.00815.50
5.6.310.0190.01615.96
5.6.300.0260.00615.85
5.6.290.0230.00515.92
5.6.280.0210.00815.99
5.6.270.0180.01115.84
5.6.260.0170.01315.98
5.6.250.0170.01415.73
5.6.240.0400.00815.83
5.6.230.0200.00915.66
5.6.220.0170.01415.74
5.6.210.0210.01115.82
5.6.200.0200.01015.84
5.6.190.0160.01315.79
5.6.180.0170.01115.64
5.6.170.0190.01215.69
5.6.160.0290.00915.57
5.6.150.0230.00915.80
5.6.140.0260.00915.62
5.6.130.0200.01415.72
5.6.120.0210.01315.48
5.6.110.0330.00315.68
5.6.100.0310.01215.62
5.6.90.0220.01015.64
5.6.80.0370.00215.70
5.6.70.0310.00915.53
5.6.60.0260.01515.53
5.6.50.0200.01615.53
5.6.40.0240.01315.76
5.6.30.0240.01715.65
5.6.20.0230.01615.69
5.6.10.0220.01815.68
5.6.00.0270.01215.71
5.5.380.0140.01515.50
5.5.370.0180.00915.86
5.5.360.0190.01215.38
5.5.350.0210.01215.66
5.5.340.0260.00915.41
5.5.330.0240.00715.66
5.5.320.0230.00715.49
5.5.310.0290.00915.56
5.5.300.0220.01215.55
5.5.290.0200.01115.64
5.5.280.0220.00915.91
5.5.270.0240.01315.60
5.5.260.0220.01015.56
5.5.250.0180.01815.52
5.5.240.0260.01315.43
5.5.230.0180.02115.52
5.5.220.0340.00215.61
5.5.210.0220.01515.67
5.5.200.0280.01515.55
5.5.190.0240.01515.64
5.5.180.0330.00815.71
5.5.170.0320.01215.73
5.5.160.0240.01415.39
5.5.150.0260.01415.52
5.5.140.0240.01815.92
5.5.130.0220.01615.61
5.5.120.0250.01415.61
5.5.110.0350.00915.42
5.5.100.0230.01515.58
5.5.90.0220.01515.52
5.5.80.0260.01315.67
5.5.70.0220.01515.18
5.5.60.0310.00815.46
5.5.50.0170.02115.41
5.5.40.0170.01815.46
5.5.30.0240.01415.51
5.5.20.0210.01215.58
5.5.10.0210.01615.40
5.5.00.0190.01615.70
5.4.450.0220.00412.46
5.4.440.0170.01012.29
5.4.430.0140.01712.29
5.4.420.0130.01712.51
5.4.410.0190.01112.30
5.4.400.0230.00812.32
5.4.390.0270.01112.32
5.4.380.0210.00812.49
5.4.370.0210.01112.21
5.4.360.0140.01512.23
5.4.350.0180.01012.24
5.4.340.0190.00812.51
5.4.330.0180.01212.17
5.4.320.0250.00312.47
5.4.310.0260.00312.19
5.4.300.0220.00812.21
5.4.290.0150.01212.51
5.4.280.0140.01712.18
5.4.270.0250.01012.23
5.4.260.0210.01012.20
5.4.250.0180.01212.43
5.4.240.0230.00612.27
5.4.230.0220.00812.46
5.4.220.0140.01212.26
5.4.210.0170.01012.46
5.4.200.0180.00912.18
5.4.190.0190.01012.33
5.4.180.0230.00612.45
5.4.170.0190.01312.51
5.4.160.0250.00612.45
5.4.150.0210.01212.55
5.4.140.0180.01112.50
5.4.130.0210.00912.30
5.4.120.0140.01112.59
5.4.110.0190.00812.31
5.4.100.0180.01112.27
5.4.90.0240.00312.23
5.4.80.0140.01712.51
5.4.70.0190.00612.39
5.4.60.0150.01312.45
5.4.50.0140.01312.43
5.4.40.0230.00312.19
5.4.30.0230.00612.21
5.4.20.0260.00512.26
5.4.10.0200.00812.24
5.4.00.0140.01112.27
5.3.290.0240.01012.90
5.3.280.0120.01512.83
5.3.270.0150.01612.84
5.3.260.0180.01012.85
5.3.250.0110.01812.90
5.3.240.0140.01412.73
5.3.230.0190.01112.78
5.3.220.0220.00412.62
5.3.210.0220.00612.52
5.3.200.0200.00812.71
5.3.190.0120.01512.59
5.3.180.0100.01712.75
5.3.170.0240.00912.91
5.3.160.0200.01012.88
5.3.150.0220.00612.84
5.3.140.0170.01212.94
5.3.130.0190.00612.59
5.3.120.0190.01012.70
5.3.110.0170.02212.72
5.3.100.0220.00612.66
5.3.90.0100.01612.75
5.3.80.0240.00712.77
5.3.70.0250.00312.66
5.3.60.0190.01012.68
5.3.50.0250.00312.61
5.3.40.0100.01512.61
5.3.30.0200.00712.75
5.3.20.0190.00812.72
5.3.10.0170.00912.48
5.3.00.0210.00912.55
5.2.170.0130.00811.84
5.2.160.0130.01111.93
5.2.150.0180.00611.99
5.2.140.0180.00711.77
5.2.130.0190.00311.72
5.2.120.0160.00811.82
5.2.110.0130.01311.73
5.2.100.0130.01311.89
5.2.90.0200.00611.95
5.2.80.0130.01311.77
5.2.70.0200.00411.75
5.2.60.0120.01211.57
5.2.50.0160.00711.80
5.2.40.0120.01111.73
5.2.30.0170.00711.63
5.2.20.0200.00311.64
5.2.10.0170.00311.64
5.2.00.0150.00811.58
5.1.60.0160.00511.21
5.1.50.0190.00311.21
5.1.40.0130.00511.21
5.1.30.0150.00511.21
5.1.20.0140.00411.21
5.1.10.0090.00911.21
5.1.00.0110.00811.21
5.0.50.0110.01111.21
5.0.40.0090.00911.21
5.0.30.0110.00811.21
5.0.20.0080.00811.21
5.0.10.0050.00911.21
5.0.00.0040.01111.21
4.4.90.0100.00311.21
4.4.80.0090.00211.21
4.4.70.0110.00011.21
4.4.60.0030.00711.21
4.4.50.0000.01111.21
4.4.40.0030.00911.21
4.4.30.0070.00711.21
4.4.20.0090.00411.21
4.4.10.0060.00311.21
4.4.00.0110.00011.21
4.3.110.0110.00011.21
4.3.100.0070.00311.21
4.3.90.0100.00011.21
4.3.80.0070.00311.21
4.3.70.0120.00011.21
4.3.60.0060.00611.21
4.3.50.0000.01211.21
4.3.40.0100.00011.21
4.3.30.0070.00411.21
4.3.20.0030.00711.21
4.3.10.0050.00511.21
4.3.00.0030.00511.21

preferences:
13.51 ms | 406 KiB | 5 Q