3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "illustration,drawing,printing"; $array = Array ( 0 => 'illustration', 1 => 'drawing', 2 => 'painting', 3 => 'ceramics' ); $stringArray = explode(',',$string); $common = array_intersect($stringArray,$array); echo "Skills :".implode(',',$common);

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.5.00.0100.01119.90
8.4.150.0020.00114.05
8.4.140.0140.00717.22
8.4.130.0120.00918.52
8.4.120.0070.00823.88
8.4.110.0120.00820.46
8.4.100.0130.00619.00
8.4.90.0120.00820.37
8.4.80.0050.00517.79
8.4.70.0120.01017.59
8.4.60.0150.00617.66
8.4.50.0100.01117.67
8.4.40.0070.01417.85
8.4.30.0120.00620.52
8.4.20.0100.01017.95
8.4.10.0170.00022.23
8.3.280.0130.00818.36
8.3.270.0130.00716.54
8.3.260.0110.00916.73
8.3.250.0130.00918.94
8.3.240.0080.00716.83
8.3.230.0100.00916.41
8.3.220.0090.01018.91
8.3.210.0110.00716.71
8.3.200.0090.00216.60
8.3.190.0070.00216.70
8.3.180.0090.00916.68
8.3.170.0070.01116.37
8.3.160.0150.00316.30
8.3.150.0090.00617.03
8.3.140.0160.00316.98
8.3.130.0030.00518.31
8.3.120.0070.01120.66
8.3.110.0080.00020.94
8.3.100.0060.00324.06
8.3.90.0030.00526.77
8.3.80.0060.00316.39
8.3.70.0070.00716.58
8.3.60.0070.00718.31
8.3.50.0100.00724.49
8.3.40.0140.00718.57
8.3.30.0110.00418.57
8.3.20.0050.00324.18
8.3.10.0050.00324.66
8.3.00.0050.00326.16
8.2.290.0100.00920.18
8.2.280.0110.00618.61
8.2.270.0150.00416.35
8.2.260.0040.00418.71
8.2.250.0100.00716.93
8.2.240.0110.00716.91
8.2.230.0030.00522.58
8.2.220.0000.00937.54
8.2.210.0100.01026.77
8.2.200.0120.00016.50
8.2.190.0070.01116.63
8.2.180.0120.00325.92
8.2.170.0060.00918.78
8.2.160.0160.00322.96
8.2.150.0000.00825.66
8.2.140.0050.00324.66
8.2.130.0000.00826.16
8.2.120.0080.00026.35
8.2.110.0030.00619.00
8.2.100.0040.00717.78
8.2.90.0060.00317.91
8.2.80.0040.00418.04
8.2.70.0030.00617.93
8.2.60.0000.00817.97
8.2.50.0030.00618.10
8.2.40.0030.00619.47
8.2.30.0000.00717.93
8.2.20.0000.00817.93
8.2.10.0070.00019.18
8.2.00.0000.00819.21
8.1.330.0110.00821.50
8.1.320.0150.00515.88
8.1.310.0070.00716.41
8.1.300.0000.00817.86
8.1.290.0070.01330.84
8.1.280.0060.00925.92
8.1.270.0100.01024.02
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.54
8.1.230.0120.00022.69
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0100.00017.35
8.1.190.0040.00417.35
8.1.180.0060.00318.10
8.1.170.0040.00418.49
8.1.160.0040.00418.74
8.1.150.0040.00418.85
8.1.140.0000.00820.54
8.1.130.0030.00517.43
8.1.120.0030.00317.42
8.1.110.0040.00417.39
8.1.100.0030.00517.42
8.1.90.0040.00417.28
8.1.80.0030.00617.39
8.1.70.0000.00817.39
8.1.60.0090.00017.50
8.1.50.0040.00417.41
8.1.40.0040.00417.37
8.1.30.0000.00817.56
8.1.20.0000.00817.59
8.1.10.0040.00417.48
8.1.00.0070.00017.28
8.0.300.0070.00419.90
8.0.290.0080.00016.63
8.0.280.0030.00318.47
8.0.270.0000.00817.91
8.0.260.0000.00716.87
8.0.250.0050.00216.94
8.0.240.0040.00416.96
8.0.230.0000.00716.78
8.0.220.0040.00316.93
8.0.210.0000.00716.92
8.0.200.0030.00316.83
8.0.190.0000.00716.81
8.0.180.0000.00716.80
8.0.170.0040.00416.89
8.0.160.0000.00716.85
8.0.150.0050.00216.84
8.0.140.0000.00716.71
8.0.130.0030.00313.29
8.0.120.0040.00416.82
8.0.110.0040.00416.80
8.0.100.0040.00416.60
8.0.90.0050.00316.77
8.0.80.0080.01016.81
8.0.70.0040.00416.70
8.0.60.0030.00516.69
8.0.50.0030.00516.71
8.0.30.0070.01016.99
8.0.20.0120.00617.18
8.0.10.0120.00817.17
8.0.00.0060.01216.99
7.4.330.0000.00515.55
7.4.320.0060.00016.45
7.4.300.0030.00316.45
7.4.290.0050.00216.32
7.4.280.0080.00016.42
7.4.270.0030.00316.55
7.4.260.0000.00513.17
7.4.250.0070.00016.54
7.4.240.0040.00416.44
7.4.230.0070.00016.63
7.4.220.0020.00516.41
7.4.210.0110.00616.48
7.4.200.0050.00216.63
7.4.150.0070.01116.48
7.4.140.0060.01216.45
7.4.130.0030.01416.49
7.4.120.0060.01216.40
7.4.110.0090.00916.52
7.4.100.0030.01616.56
7.4.90.0070.01016.48
7.4.80.0100.01016.32
7.4.70.0130.00316.51
7.4.60.0070.01016.55
7.4.50.0090.00916.44
7.4.40.0090.00916.46
7.4.30.0060.01216.51
7.4.20.0070.01016.67
7.4.10.0070.01016.29
7.4.00.0100.00716.49
7.3.330.0040.00416.18
7.3.320.0030.00313.04
7.3.310.0030.00316.27
7.3.300.0040.00416.19
7.3.290.0100.00716.18
7.3.270.0130.00916.50
7.3.260.0060.01016.21
7.3.250.0190.00016.34
7.3.240.0080.00816.26
7.3.230.0120.00616.28
7.3.220.0070.01016.45
7.3.210.0120.00916.18
7.3.200.0110.00716.46
7.3.190.0030.01316.53
7.3.180.0110.00716.28
7.3.170.0120.00616.24
7.3.160.0100.00716.12
7.3.150.0070.01116.36
7.3.140.0090.00916.18
7.3.130.0100.00916.12
7.3.120.0140.01016.50
7.3.110.0130.01016.40
7.3.100.0090.01516.25
7.3.90.0040.01316.39
7.3.80.0100.01316.23
7.3.70.0150.00916.36
7.3.60.0120.00616.32
7.3.50.0090.00916.19
7.3.40.0100.00616.35
7.3.30.0090.00916.31
7.3.20.0090.00916.20
7.3.10.0590.00716.10
7.3.00.0030.01616.16

preferences:
30 ms | 403 KiB | 5 Q