3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(1, "apples",2, "oranges",3, "plums"); $filtered = array_filter( $array, "ctype_alpha"); var_dump($filtered); ?>

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.130.0040.00418.58
8.3.120.0110.00718.73
8.3.110.0060.00316.63
8.3.100.0110.00024.06
8.3.90.0000.00826.77
8.3.80.0040.00417.97
8.3.70.0060.01218.43
8.3.60.0040.01118.55
8.3.50.0080.01121.13
8.3.40.0160.00018.67
8.3.30.0140.00718.53
8.3.20.0080.00020.26
8.3.10.0040.00421.78
8.3.00.0150.00420.04
8.2.250.0080.00018.19
8.2.240.0000.00818.82
8.2.230.0070.00320.94
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0040.00718.16
8.2.190.0080.01116.85
8.2.180.0100.01316.75
8.2.170.0060.00922.96
8.2.160.0030.01122.05
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0030.00617.50
8.2.110.0090.00020.99
8.2.100.0080.00417.91
8.2.90.0070.00419.10
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0050.00318.09
8.2.50.0000.00818.10
8.2.40.0000.00817.93
8.2.30.0000.00719.40
8.2.20.0070.00017.49
8.2.10.0040.00418.04
8.2.00.0040.00418.04
8.1.300.0030.00718.25
8.1.290.0030.00618.88
8.1.280.0140.00725.92
8.1.270.0050.00322.19
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00723.76
8.1.230.0090.00322.64
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00718.73
8.1.150.0040.00418.56
8.1.140.0000.00817.37
8.1.130.0040.00419.16
8.1.120.0040.00417.32
8.1.110.0050.00317.36
8.1.100.0000.00717.39
8.1.90.0030.00317.27
8.1.80.0050.00517.21
8.1.70.0040.00417.37
8.1.60.0040.00417.50
8.1.50.0040.00417.34
8.1.40.0090.00017.45
8.1.30.0030.00517.64
8.1.20.0030.00617.55
8.1.10.0040.00417.34
8.1.00.0020.00517.36
8.0.300.0030.00518.77
8.0.290.0030.00516.58
8.0.280.0040.00418.38
8.0.270.0030.00316.82
8.0.260.0030.00316.73
8.0.250.0000.00716.77
8.0.240.0000.00716.89
8.0.230.0030.00616.89
8.0.220.0000.00616.80
8.0.210.0030.00516.79
8.0.200.0030.00316.89
8.0.190.0040.00416.88
8.0.180.0030.00516.90
8.0.170.0080.00016.77
8.0.160.0000.00716.91
8.0.150.0000.00716.80
8.0.140.0070.00016.67
8.0.130.0000.00613.29
8.0.120.0070.00016.64
8.0.110.0000.00816.83
8.0.100.0070.00016.75
8.0.90.0000.00716.88
8.0.80.0040.01116.77
8.0.70.0040.00416.70
8.0.60.0070.00016.84
8.0.50.0000.00716.88
8.0.30.0030.01216.97
8.0.20.0100.00917.40
8.0.10.0070.00016.81
8.0.00.0130.00716.69
7.4.330.0060.00216.33
7.4.320.0050.00516.44
7.4.300.0030.00316.48
7.4.290.0000.00716.45
7.4.280.0040.00416.56
7.4.270.0030.00316.36
7.4.260.0070.00016.36
7.4.250.0080.00016.46
7.4.240.0060.00116.54
7.4.230.0030.00316.43
7.4.220.0130.01016.38
7.4.210.0090.00616.56
7.4.200.0000.00616.23
7.4.160.0080.00816.34
7.4.150.0060.01117.40
7.4.140.0120.01217.86
7.4.130.0110.00616.45
7.4.120.0090.00816.45
7.4.110.0100.00716.38
7.4.100.0140.00816.36
7.4.90.0110.00816.46
7.4.80.0060.01219.39
7.4.70.0110.00516.32
7.4.60.0090.00616.47
7.4.50.0000.00816.59
7.4.40.0080.00816.47
7.4.30.0130.00316.50
7.4.20.0070.01016.11
7.4.10.0080.01216.07
7.4.00.0100.00915.53
7.3.330.0020.00515.03
7.3.320.0020.00212.89
7.3.310.0030.00315.98
7.3.300.0050.00316.13
7.3.290.0060.01216.12
7.3.280.0080.01216.11
7.3.270.0110.00517.40
7.3.260.0100.00716.14
7.3.250.0120.00716.11
7.3.240.0060.01616.17
7.3.230.0090.00916.39
7.3.210.0130.00316.22
7.3.200.0060.01116.41
7.3.190.0060.00916.10
7.3.180.0040.01116.08
7.3.170.0080.01216.27
7.3.160.0080.00916.29
7.3.140.0120.00416.02
7.3.130.0070.01016.02
7.3.120.0030.01216.06
7.3.110.0060.01116.11
7.3.100.0030.01416.10
7.3.90.0030.01416.28
7.3.80.0000.01716.14
7.3.70.0100.00616.05
7.3.60.0070.01616.00
7.3.50.0100.01315.90
7.3.40.0130.00716.15
7.3.30.0120.01216.14
7.3.20.0090.00917.88
7.3.10.0130.00816.92
7.3.00.0090.00416.66
7.2.330.0090.00916.31
7.2.320.0160.00016.35
7.2.310.0030.01616.31
7.2.300.0060.01016.57
7.2.290.0080.01216.66
7.2.270.0110.00716.45
7.2.260.0060.01316.36
7.2.250.0070.01016.16
7.2.240.0090.01316.31
7.2.230.0120.00916.61
7.2.220.0060.01216.13
7.2.210.0120.01216.24
7.2.200.0030.01616.30
7.2.190.0090.01816.25
7.2.180.0150.00616.06
7.2.170.0090.01516.38
7.2.160.0130.00916.25
7.2.150.0090.01518.14
7.2.140.0000.01818.13
7.2.130.0090.01117.15
7.2.120.0090.00817.14
7.2.110.0150.00817.04
7.2.100.0100.00817.16
7.2.90.0090.00716.99
7.2.80.0080.01117.06
7.2.70.0090.00917.13
7.2.60.0080.00916.93
7.2.50.0090.00717.25
7.2.40.0100.00617.13
7.2.30.0070.00917.23
7.2.20.0090.01017.12
7.2.10.0110.00417.22
7.2.00.0070.00917.72
7.1.330.0190.00617.43
7.1.320.0180.01217.20
7.1.310.0190.01017.01
7.1.300.0190.00917.32
7.1.290.0180.01017.23
7.1.280.0120.01517.20
7.1.270.0140.01417.22
7.1.260.0200.00717.28
7.1.250.0140.00715.93
7.1.240.0180.01017.23
7.1.230.0250.00917.18
7.1.220.0090.01517.02
7.1.210.0200.00517.13
7.1.200.0130.00816.54
7.1.190.0200.01017.23
7.1.180.0190.01216.98
7.1.170.0240.00617.21
7.1.160.0130.01317.14
7.1.150.0150.01117.07
7.1.140.0130.01317.09
7.1.130.0150.01517.07
7.1.120.0210.00817.18
7.1.110.0110.01517.18
7.1.100.0110.01017.67
7.1.90.0200.00616.98
7.1.80.0080.02017.15
7.1.70.0110.00817.43
7.1.60.0180.01016.63
7.1.50.0070.01016.52
7.1.40.0090.00816.56
7.1.30.0170.01016.54
7.1.20.0110.00916.62
7.1.10.0120.00516.67
7.1.00.0200.01116.56
7.0.330.0140.01417.08
7.0.320.0130.01317.09
7.0.310.0200.00616.80
7.0.300.0130.01416.93
7.0.290.0130.01317.05
7.0.280.0230.00616.82
7.0.270.0200.00816.97
7.0.260.0150.01116.93
7.0.250.0230.01016.89
7.0.240.0210.00816.99
7.0.230.0170.01016.69
7.0.220.0160.00916.74
7.0.210.0210.00516.62
7.0.200.0060.01016.40
7.0.190.0090.00916.39
7.0.180.0070.01116.62
7.0.170.0080.00816.41
7.0.160.0130.00416.44
7.0.150.0100.00916.43
7.0.140.0120.00716.36
7.0.130.0110.00616.38
7.0.120.0110.00516.42
7.0.110.0110.00716.49
7.0.100.0070.00916.34
7.0.90.0090.00916.48
7.0.80.0110.00416.28
7.0.70.0100.00716.47
7.0.60.0060.01216.40
7.0.50.0110.00416.40
7.0.40.0090.01116.48
7.0.30.0100.00916.53
7.0.20.0150.00916.48
7.0.10.0080.00816.45
7.0.00.0280.01016.37
5.6.400.0200.01215.96
5.6.390.0220.01015.73
5.6.380.0090.02115.77
5.6.370.0150.01215.88
5.6.360.0170.01315.72
5.6.350.0140.01415.82
5.6.340.0220.00815.86
5.6.330.0160.01515.70
5.6.320.0180.01615.84
5.6.310.0110.01115.57
5.6.300.0120.02618.15
5.6.290.0110.02717.90
5.6.280.0090.03118.27
5.6.270.0130.02418.21
5.6.260.0120.02818.35
5.6.250.0130.03118.34
5.6.240.0130.02918.23
5.6.230.0070.03018.22
5.6.220.0090.02618.27
5.6.210.0130.04118.26
5.6.200.0090.03418.22
5.6.190.0110.02718.26
5.6.180.0100.04518.24
5.6.170.0080.02918.22
5.6.160.0080.03518.14
5.6.150.0110.02818.12
5.6.140.0110.02718.16
5.6.130.0050.03118.12
5.6.120.0140.02718.00
5.6.110.0090.02718.14
5.6.100.0090.02618.15
5.6.90.0130.02318.28
5.6.80.0120.02217.90
5.6.70.0040.02717.87
5.6.60.0120.02318.02
5.6.50.0040.02817.80
5.6.40.0140.02317.85
5.6.30.0110.02617.88
5.6.20.0060.02817.91
5.6.10.0130.03917.85
5.6.00.0150.02217.90
5.5.380.0120.03716.73
5.5.370.0110.02416.84
5.5.360.0080.02916.80
5.5.350.0120.03516.83
5.5.340.0060.03416.78
5.5.330.0030.05716.83
5.5.320.0030.03616.79
5.5.310.0100.02816.78
5.5.300.0050.03116.75
5.5.290.0100.04316.73
5.5.280.0110.03216.78
5.5.270.0040.03016.85
5.5.260.0120.02816.84
5.5.250.0130.03716.76
5.5.240.0090.02616.77
5.5.230.0140.03816.81
5.5.220.0060.02616.71
5.5.210.0160.04816.76
5.5.200.0100.02616.78
5.5.190.0100.02816.84
5.5.180.0100.03916.71
5.5.170.0190.01215.50
5.5.160.0140.02216.71
5.5.150.0080.03316.78
5.5.140.0060.02616.82
5.5.130.0110.02416.84
5.5.120.0070.02516.87
5.5.110.0060.02816.70
5.5.100.0110.02416.75
5.5.90.0120.02416.74
5.5.80.0110.03516.75
5.5.70.0130.02316.82
5.5.60.0110.02516.74
5.5.50.0200.02516.76
5.5.40.0120.02416.70
5.5.30.0110.02316.67
5.5.20.0110.02716.67
5.5.10.0080.03016.80
5.5.00.0120.02816.76
5.4.450.0130.02115.85
5.4.440.0080.03116.02
5.4.430.0050.03415.97
5.4.420.0070.02715.83
5.4.410.0060.02815.84
5.4.400.0040.02415.84
5.4.390.0070.02615.73
5.4.380.0070.04215.90
5.4.370.0080.03515.70
5.4.360.0070.03015.78
5.4.350.0140.01715.79
5.4.340.0090.04515.84
5.4.330.0130.00512.45
5.4.320.0070.02915.73
5.4.310.0060.03015.64
5.4.300.0120.01915.68
5.4.290.0090.03515.76
5.4.280.0090.02215.61
5.4.270.0090.02415.77
5.4.260.0030.02615.70
5.4.250.0070.03115.81
5.4.240.0130.02115.74
5.4.230.0100.02115.90
5.4.220.0100.03115.73
5.4.210.0100.02015.62
5.4.200.0090.02115.72
5.4.190.0110.02615.77
5.4.180.0140.02615.68
5.4.170.0090.02115.82
5.4.160.0110.02515.75
5.4.150.0090.04415.51
5.4.140.0080.04115.16
5.4.130.0090.02515.15
5.4.120.0060.02515.24
5.4.110.0100.03215.17
5.4.100.0070.02515.15
5.4.90.0120.01915.17
5.4.80.0130.02315.08
5.4.70.0120.02215.13
5.4.60.0130.02015.24
5.4.50.0050.02715.21
5.4.40.0090.02415.17
5.4.30.0120.01915.24
5.4.20.0080.02215.24
5.4.10.0060.03015.13
5.4.00.0100.01815.24
5.3.290.0000.04217.92
5.3.280.0060.03217.92
5.3.270.0000.04217.92
5.3.260.0000.05417.92
5.3.250.0030.07717.92
5.3.240.0000.04417.92
5.3.230.0070.03917.92
5.3.220.0030.03617.92
5.3.210.0070.07917.92
5.3.200.0000.03917.92
5.3.190.0000.05417.92
5.3.180.0030.08017.92
5.3.170.0030.04417.92
5.3.160.0000.04317.92
5.3.150.0030.03917.92
5.3.140.0000.04217.92
5.3.130.0000.04717.92
5.3.120.0030.03517.92
5.3.110.0000.04217.92
5.3.100.0000.04117.92
5.3.90.0030.07017.92
5.3.80.0030.03517.92
5.3.70.0000.03917.92
5.3.60.0030.04117.92
5.3.50.0000.03917.92
5.3.40.0170.04017.92
5.3.30.0060.03517.92
5.3.20.0200.03717.92
5.3.10.0000.07217.92
5.3.00.0030.03417.92
5.2.170.0000.03117.92
5.2.160.0030.04217.92
5.2.150.0000.03117.92
5.2.140.0060.02817.92
5.2.130.0000.05117.92
5.2.120.0000.02917.92
5.2.110.0000.04517.92
5.2.100.0030.02717.92
5.2.90.0030.03617.92
5.2.80.0070.03517.92
5.2.70.0030.04617.92
5.2.60.0000.03417.92
5.2.50.0070.03117.92
5.2.40.0000.03217.92
5.2.30.0030.03717.92
5.2.20.0000.04017.92
5.2.10.0000.02917.92
5.2.00.0070.05617.92
5.1.60.0000.03417.92
5.1.50.0000.02617.92
5.1.40.0000.02717.92
5.1.30.0000.04117.92
5.1.20.0070.05117.92
5.1.10.0030.03017.92
5.1.00.0000.03817.92
5.0.50.0060.02617.92
5.0.40.0100.01317.92
5.0.30.0030.03017.92
5.0.20.0070.02117.92
5.0.10.0040.02517.92
5.0.00.0000.03917.92
4.4.90.0000.01817.92
4.4.80.0030.01517.92
4.4.70.0000.01617.92
4.4.60.0040.01417.92
4.4.50.0000.01617.92
4.4.40.0030.02217.92
4.4.30.0070.01417.92
4.4.20.0030.02317.92
4.4.10.0000.01717.92
4.4.00.0000.02717.92
4.3.110.0000.01717.92
4.3.100.0000.01717.92
4.3.90.0000.02417.92
4.3.80.0060.01917.92
4.3.70.0000.01817.92
4.3.60.0030.01617.92
4.3.50.0000.01817.92
4.3.40.0000.02717.92
4.3.30.0030.01517.92
4.3.20.0000.02217.92
4.3.10.0030.01717.92
4.3.00.0030.01417.92

preferences:
17.42 ms | 403 KiB | 5 Q