3v4l.org

run code in 300+ PHP versions simultaneously
<?php $actions = array(); for ($x = 1; $x < 3; ++$x){ $actions[] = function(){ echo 'this is action 425 to 724'; // etc etc.. }; } debug_zval_dump($actions[0]); debug_zval_dump($actions[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.0060.00317.73
8.3.140.0040.01116.59
8.3.130.0150.00016.70
8.3.120.0040.00420.63
8.3.110.0080.00020.94
8.3.100.0050.00316.71
8.3.90.0060.00318.29
8.3.80.0060.00318.31
8.3.70.0100.01018.56
8.3.60.0140.00716.63
8.3.50.0100.01222.12
8.3.40.0150.00618.71
8.3.30.0140.00019.22
8.3.20.0040.00420.30
8.3.10.0030.00623.71
8.3.00.0040.00419.25
8.2.260.0040.00418.91
8.2.250.0060.00316.58
8.2.240.0040.00417.29
8.2.230.0050.00322.58
8.2.220.0070.00437.54
8.2.210.0050.00226.77
8.2.200.0110.00018.29
8.2.190.0140.00716.75
8.2.180.0160.00618.14
8.2.170.0070.00722.96
8.2.160.0160.00321.96
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00221.07
8.2.110.0090.00020.52
8.2.100.0060.00617.84
8.2.90.0040.00422.33
8.2.80.0000.00817.97
8.2.70.0040.00418.04
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0040.00418.22
8.2.30.0040.00418.22
8.2.20.0070.00017.67
8.2.10.0040.00418.02
8.2.00.0070.00317.75
8.1.310.0070.01118.39
8.1.300.0060.00318.57
8.1.290.0040.00418.88
8.1.280.0170.00325.92
8.1.270.0000.00823.97
8.1.260.0060.00626.35
8.1.250.0050.00328.09
8.1.240.0070.00421.93
8.1.230.0070.00722.07
8.1.220.0080.00017.74
8.1.210.0080.00018.91
8.1.200.0050.00317.23
8.1.190.0040.00416.99
8.1.180.0060.00318.10
8.1.170.0080.00018.48
8.1.160.0040.00418.95
8.1.150.0020.00518.52
8.1.140.0040.00417.50
8.1.130.0030.00317.84
8.1.120.0080.00017.52
8.1.110.0040.00417.43
8.1.100.0000.00717.51
8.1.90.0000.00717.50
8.1.80.0040.00417.46
8.1.70.0030.00317.37
8.1.60.0030.00617.65
8.1.50.0000.00917.57
8.1.40.0000.00717.46
8.1.30.0050.00317.60
8.1.20.0000.00817.64
8.1.10.0040.00417.35
8.1.00.0040.00417.46
8.0.300.0080.00019.84
8.0.290.0040.00416.63
8.0.280.0070.00018.38
8.0.270.0070.00016.75
8.0.260.0000.00617.20
8.0.250.0060.00016.93
8.0.240.0000.00716.91
8.0.230.0030.00316.94
8.0.220.0030.00316.73
8.0.210.0080.00016.87
8.0.200.0000.00716.94
8.0.190.0050.00216.92
8.0.180.0050.00216.82
8.0.170.0000.00816.92
8.0.160.0050.00316.92
8.0.150.0000.00716.81
8.0.140.0000.00816.89
8.0.130.0000.00513.29
8.0.120.0020.00516.81
8.0.110.0080.00016.82
8.0.100.0000.00716.76
8.0.90.0000.00716.90
8.0.80.0040.01116.84
8.0.70.0030.00316.90
8.0.60.0030.00516.93
8.0.50.0040.00317.02
8.0.30.0150.00317.07
8.0.20.0140.00517.40
8.0.10.0070.00016.89
8.0.00.0050.01316.83
7.4.330.0000.00615.14
7.4.320.0040.00416.41
7.4.300.0000.00816.57
7.4.290.0080.00016.61
7.4.280.0100.00016.55
7.4.270.0000.00716.65
7.4.260.0030.00316.57
7.4.250.0060.00316.54
7.4.240.0040.00416.51
7.4.230.0000.00716.40
7.4.220.0130.01316.53
7.4.210.0070.01316.57
7.4.200.0030.00516.67
7.4.190.0030.00516.67
7.4.160.0160.00016.37
7.4.150.0070.01017.40
7.4.140.0100.00917.86
7.4.130.0130.00316.48
7.4.120.0070.01016.43
7.4.110.0060.00916.49
7.4.100.0110.01116.50
7.4.90.0120.00616.39
7.4.80.0160.00619.39
7.4.70.0060.01216.43
7.4.60.0060.01016.31
7.4.50.0040.00416.22
7.4.40.0030.01322.77
7.4.30.0150.00616.50
7.4.20.0130.01016.46
7.4.10.0120.00916.55
7.4.00.0070.01215.78
7.3.330.0000.00513.40
7.3.320.0060.00013.32
7.3.310.0070.00016.48
7.3.300.0040.00416.24
7.3.290.0090.00916.28
7.3.280.0060.01016.26
7.3.270.0060.01017.40
7.3.260.0080.01516.33
7.3.250.0120.00516.49
7.3.240.0030.01316.41
7.3.230.0030.01416.60
7.3.210.0090.00916.33
7.3.200.0100.00616.48
7.3.190.0040.01716.59
7.3.180.0040.01216.36
7.3.170.0100.00716.68
7.3.160.0140.00716.51
7.3.150.0130.00716.23
7.3.140.0060.01516.56
7.3.130.0070.01416.52
7.3.120.0060.01315.75
7.3.110.0110.01116.34
7.3.100.0060.01016.44
7.3.90.0150.00616.29
7.3.80.0070.01016.36
7.3.70.0090.00616.23
7.3.60.0130.00916.36
7.3.50.0090.01015.63
7.3.40.0100.01016.30
7.3.30.0110.00716.45
7.3.20.0160.00616.32
7.3.10.0060.00816.39
7.3.00.0230.00815.71
7.2.330.0050.01316.46
7.2.320.0140.00816.75
7.2.310.0120.00616.65
7.2.300.0090.00616.74
7.2.290.0070.01016.51
7.2.280.0100.00716.67
7.2.270.0120.00916.71
7.2.260.0060.01616.43
7.2.250.0130.01016.55
7.2.240.0070.01516.47
7.2.230.0090.01316.57
7.2.220.0130.01016.69
7.2.210.0030.01316.55
7.2.200.0090.00616.44
7.2.190.0150.00716.63
7.2.180.0030.01316.36
7.2.170.0200.00616.57
7.2.160.0130.00616.61
7.2.150.0070.01116.67
7.2.140.0060.01616.45
7.2.130.0230.00715.70
7.2.120.0240.00815.90
7.2.110.0170.00815.95
7.2.100.0180.00915.82
7.2.90.0220.00515.78
7.2.80.0270.00415.85
7.2.70.0240.01215.85
7.2.60.0190.00715.86
7.2.50.0380.00515.88
7.2.40.0240.00515.85
7.2.30.0180.01015.83
7.2.20.0260.00615.76
7.2.10.0270.00216.17
7.2.00.0180.00816.66
7.1.330.0160.00815.43
7.1.320.0100.01715.37
7.1.310.0150.00415.52
7.1.300.0170.00715.44
7.1.290.0060.01315.13
7.1.280.0080.01315.19
7.1.270.0070.01315.24
7.1.260.0100.01015.29
7.1.250.0240.00614.62
7.1.240.0280.00514.15
7.1.230.0260.00714.26
7.1.220.0260.00614.10
7.1.210.0230.00514.12
7.1.200.0170.00514.51
7.1.190.0270.00714.05
7.1.180.0220.00614.34
7.1.170.0210.00914.13
7.1.160.0250.01114.20
7.1.150.0180.01014.18
7.1.140.0410.00514.27
7.1.130.0180.01014.75
7.1.120.0260.00914.69
7.1.110.0230.00914.45
7.1.100.0310.01014.65
7.1.90.0370.00714.58
7.1.80.0240.00814.68
7.1.70.0190.00714.96
7.1.60.0300.00818.14
7.1.50.0250.00718.31
7.1.40.0330.01018.51
7.1.30.0230.00918.36
7.1.20.0210.01118.43
7.1.10.0240.00614.71
7.1.00.0220.00914.66
7.0.330.0210.00913.98
7.0.320.0290.00513.94
7.0.310.0280.01013.99
7.0.300.0270.00613.88
7.0.290.0330.00514.00
7.0.280.0330.00913.94
7.0.270.0260.01114.66
7.0.260.0270.00614.62
7.0.250.0250.00614.47
7.0.240.0330.01014.41
7.0.230.0280.00714.50
7.0.220.0280.00614.44
7.0.210.0270.01114.21
7.0.200.0200.00814.72
7.0.190.0200.00714.81
7.0.180.0220.00814.61
7.0.170.0220.00714.60
7.0.160.0210.00614.58
7.0.150.0240.00814.62
7.0.140.0260.00714.59
7.0.130.0210.00914.83
7.0.120.0220.00914.75
7.0.110.0240.00714.67
7.0.100.0240.00414.73
7.0.90.0240.00814.63
7.0.80.0220.00814.60
7.0.70.0270.00814.49
7.0.60.0280.00614.57
7.0.50.0580.00614.66
7.0.40.0160.01214.28
7.0.30.0200.01114.47
7.0.20.0180.01114.34
7.0.10.0240.00714.28
7.0.00.0220.00714.34
5.6.400.0120.00916.10
5.6.390.0060.01315.76
5.6.380.0080.01014.61
5.6.370.0090.01214.78
5.6.360.0160.00314.86
5.6.350.0090.01214.89
5.6.340.0070.01414.81
5.6.330.0100.00914.83
5.6.320.0120.00914.80
5.6.310.0140.01014.72
5.6.300.0110.02617.33
5.6.290.0130.02617.28
5.6.280.0100.02817.32
5.6.270.0080.03217.30
5.6.260.0150.02517.39
5.6.250.0100.03017.32
5.6.240.0130.02517.33
5.6.230.0140.02317.34
5.6.220.0110.02817.31
5.6.210.0140.02517.29
5.6.200.0130.02817.25
5.6.190.0100.02917.28
5.6.180.0150.02517.25
5.6.170.0120.02617.27
5.6.160.0200.02517.15
5.6.150.0110.02617.15
5.6.140.0170.02717.23
5.6.130.0110.03217.19
5.6.120.0110.02917.23
5.6.110.0130.02617.26
5.6.100.0120.02517.19
5.6.90.0130.02617.21
5.6.80.0130.02617.02
5.6.70.0100.03517.05
5.6.60.0110.03016.93
5.6.50.0120.02316.91
5.6.40.0100.02616.92
5.6.30.0100.02816.90
5.6.20.0120.03316.96
5.6.10.0110.02416.84
5.6.00.0070.02716.90
5.5.380.0130.02914.66
5.5.370.0130.02214.64
5.5.360.0120.02414.67
5.5.350.0100.02514.66
5.5.340.0120.02314.86
5.5.330.0130.02614.82
5.5.320.0120.02214.75
5.5.310.0090.02314.94
5.5.300.0120.02014.84
5.5.290.0110.02214.84
5.5.280.0120.02214.83
5.5.270.0100.03414.88
5.5.260.0090.02814.91
5.5.250.0080.03214.77
5.5.240.0080.02414.52
5.5.230.0090.02614.53
5.5.220.0060.02514.44
5.5.210.0100.02114.63
5.5.200.0080.03514.51
5.5.190.0130.02514.48
5.5.180.0060.02914.55
5.5.170.0100.00712.68
5.5.160.0070.02514.51
5.5.150.0080.02514.49
5.5.140.0100.02114.50
5.5.130.0090.02214.63
5.5.120.0100.02814.41
5.5.110.0090.02414.52
5.5.100.0110.02614.60
5.5.90.0110.02314.35
5.5.80.0110.02514.47
5.5.70.0100.02614.46
5.5.60.0090.02414.44
5.5.50.0100.02414.43
5.5.40.0090.02414.40
5.5.30.0130.02414.51
5.5.20.0110.02514.57
5.5.10.0130.02314.43
5.5.00.0110.02014.38
5.4.450.0090.02414.67
5.4.440.0080.02614.71
5.4.430.0070.03114.78
5.4.420.0080.03214.78
5.4.410.0090.02914.78
5.4.400.0080.02214.62
5.4.390.0100.02314.57
5.4.380.0090.02114.60
5.4.370.0090.02214.48
5.4.360.0090.02714.65
5.4.350.0050.03114.56
5.4.340.0070.02714.55
5.4.330.0110.00411.75
5.4.320.0120.02014.44
5.4.310.0090.02814.41
5.4.300.0090.02214.50
5.4.290.0110.02114.59
5.4.280.0080.02814.45
5.4.270.0120.02014.67
5.4.260.0100.02414.60
5.4.250.0110.02514.54
5.4.240.0120.02614.64
5.4.230.0120.02514.50
5.4.220.0090.02014.67
5.4.210.0100.02414.61
5.4.200.0090.02514.49
5.4.190.0050.03814.47
5.4.180.0100.02414.57
5.4.170.0090.02714.51
5.4.160.0080.03214.56
5.4.150.0070.02514.58
5.4.140.0080.02313.61
5.4.130.0100.01913.52
5.4.120.0080.02013.66
5.4.110.0090.02213.56
5.4.100.0120.01813.60
5.4.90.0080.02013.64
5.4.80.0080.02113.59
5.4.70.0050.02313.71
5.4.60.0060.02613.62
5.4.50.0090.02013.62
5.4.40.0090.02413.72
5.4.30.0100.01813.57
5.4.20.0060.02413.62
5.4.10.0090.02113.60
5.4.00.0070.02013.38
5.3.290.0070.02712.91
5.3.280.0110.02512.80
5.3.270.0070.02412.77
5.3.260.0080.02312.77
5.3.250.0060.02612.76
5.3.240.0090.02412.63
5.3.230.0140.02012.84
5.3.220.0070.02212.65
5.3.210.0070.02712.66
5.3.200.0080.02412.59
5.3.190.0080.02312.69
5.3.180.0080.02112.80
5.3.170.0080.02112.78
5.3.160.0070.02312.77
5.3.150.0070.02112.75
5.3.140.0100.02012.74
5.3.130.0080.02212.75
5.3.120.0070.02312.76
5.3.110.0050.02512.67
5.3.100.0070.02212.52
5.3.90.0080.02112.53
5.3.80.0040.02312.43
5.3.70.0090.02012.29
5.3.60.0090.01812.45
5.3.50.0090.02012.42
5.3.40.0080.02012.45
5.3.30.0080.01912.39
5.3.20.0060.02212.36
5.3.10.0080.02212.16
5.3.00.0060.02312.21

preferences:
30.44 ms | 403 KiB | 5 Q