3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $array = array( "action" => "\"foo\"", "class" => "\"bar\"" ); print_r($array); $clean = array_map(function($item) { return str_replace("\"", "", $item); });

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.0080.00618.43
8.3.50.0130.00522.06
8.3.40.0070.00718.79
8.3.30.0070.01019.09
8.3.20.0080.00020.33
8.3.10.0000.00823.47
8.3.00.0040.00420.80
8.2.180.0120.00916.63
8.2.170.0070.00722.96
8.2.160.0040.01120.56
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.48
8.2.110.0070.00320.18
8.2.100.0080.00320.41
8.2.90.0000.00719.22
8.2.80.0040.00417.97
8.2.70.0040.00717.75
8.2.60.0030.00617.80
8.2.50.0060.00618.07
8.2.40.0040.00419.85
8.2.30.0020.00518.25
8.2.20.0050.00217.78
8.2.10.0080.00018.05
8.2.00.0000.00817.80
8.1.280.0200.00025.92
8.1.270.0050.00322.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00023.88
8.1.230.0000.01118.97
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0050.00517.35
8.1.190.0050.00317.13
8.1.180.0040.00418.10
8.1.170.0000.00818.70
8.1.160.0040.00421.93
8.1.150.0030.00518.57
8.1.140.0000.00717.47
8.1.130.0060.00017.75
8.1.120.0050.00217.46
8.1.110.0080.00017.37
8.1.100.0000.00717.45
8.1.90.0040.00417.36
8.1.80.0000.00717.47
8.1.70.0000.00717.42
8.1.60.0030.00617.48
8.1.50.0000.00917.47
8.1.40.0080.00017.49
8.1.30.0030.00517.63
8.1.20.0040.00417.63
8.1.10.0000.00817.57
8.1.00.0030.00617.38
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.29
8.0.270.0070.00017.11
8.0.260.0030.00317.21
8.0.250.0030.00316.89
8.0.240.0040.00416.97
8.0.230.0070.00016.81
8.0.220.0000.00716.86
8.0.210.0030.00316.93
8.0.200.0000.00616.90
8.0.190.0070.00016.91
8.0.180.0050.00317.00
8.0.170.0090.00016.94
8.0.160.0000.00717.05
8.0.150.0040.00416.89
8.0.140.0030.00616.87
8.0.130.0030.00313.41
8.0.120.0040.00416.92
8.0.110.0070.00016.86
8.0.100.0040.00416.84
8.0.90.0000.00817.07
8.0.80.0100.01016.83
8.0.70.0040.00416.78
8.0.60.0040.00416.81
8.0.50.0040.00416.98
8.0.30.0150.00416.97
8.0.20.0120.01117.40
8.0.10.0040.00417.05
8.0.00.0120.00916.69
7.4.330.0000.00515.07
7.4.320.0030.00316.58
7.4.300.0070.00016.51
7.4.290.0030.00316.54
7.4.280.0000.00816.43
7.4.270.0000.00716.58
7.4.260.0070.00016.36
7.4.250.0040.00416.45
7.4.240.0020.00616.56
7.4.230.0040.00416.66
7.4.220.0130.01416.55
7.4.210.0070.01416.69
7.4.200.0070.00016.48
7.4.160.0060.00916.34
7.4.150.0070.01017.40
7.4.140.0110.01317.86
7.4.130.0090.00816.44
7.4.120.0110.00716.53
7.4.110.0110.00616.66
7.4.100.0070.01116.52
7.4.90.0100.00716.39
7.4.80.0120.00919.39
7.4.70.0060.01116.36
7.4.60.0120.00716.41
7.4.50.0030.00516.43
7.4.40.0070.00816.64
7.4.30.0050.01116.25
7.4.10.0130.00716.29
7.4.00.0070.00815.75
7.3.330.0050.00013.25
7.3.320.0050.00013.36
7.3.310.0030.00316.14
7.3.300.0030.00316.30
7.3.290.0030.01316.27
7.3.280.0090.00916.25
7.3.270.0170.00017.40
7.3.260.0140.00316.29
7.3.250.0120.01316.34
7.3.240.0150.00616.54
7.3.230.0070.01016.54
7.3.210.0130.00416.37
7.3.200.0090.00819.39
7.3.190.0070.01416.32
7.3.180.0150.00316.39
7.3.170.0060.00916.32
7.3.160.0120.00316.20
7.3.130.0070.01316.17
7.3.120.0080.00915.55
7.3.110.0040.01116.34
7.3.100.0110.00416.26
7.3.90.0090.00616.50
7.3.80.0070.00716.28
7.3.70.0060.01116.25
7.3.60.0070.01116.17
7.3.50.0060.00616.33
7.3.40.0050.00516.29
7.3.30.0070.00716.26
7.3.20.0030.00918.13
7.3.10.0040.01218.12
7.3.00.0100.00718.17
7.2.330.0090.01316.70
7.2.320.0130.01016.70
7.2.310.0130.01016.48
7.2.300.0130.00316.38
7.2.290.0050.01116.32
7.2.260.0100.01016.59
7.2.250.0160.00316.55
7.2.240.0030.01216.57
7.2.230.0030.00716.38
7.2.220.0060.00916.64
7.2.210.0030.00716.54
7.2.200.0000.01816.36
7.2.190.0030.01316.54
7.2.180.0030.01416.44
7.2.170.0120.00316.32
7.2.160.0000.01516.51
7.2.150.0030.01018.25
7.2.140.0100.00018.47
7.2.130.0000.01518.24
7.2.120.0060.00618.36
7.2.110.0030.01418.23
7.2.100.0000.01518.39
7.2.90.0000.01718.34
7.2.80.0070.00718.24
7.2.70.0110.00418.15
7.2.60.0100.00718.35
7.2.50.0030.01318.29
7.2.40.0030.01418.28
7.2.30.0100.00718.38
7.2.20.0100.00718.27
7.2.10.0040.01218.26
7.2.00.0050.00818.65
7.1.330.0060.00917.12
7.1.320.0060.00617.28
7.1.310.0060.00617.30
7.1.300.0060.00617.22
7.1.290.0030.01317.35
7.1.280.0070.01017.38
7.1.270.0040.01117.24
7.1.260.0100.00717.43
7.1.250.0000.01217.23
7.1.240.0030.00617.14
7.1.230.0110.00317.23
7.1.220.0000.01417.20
7.1.210.0100.00717.28
7.1.200.0040.00817.38
7.1.190.0090.00617.14
7.1.180.0070.00717.13
7.1.170.0130.00317.20
7.1.160.0040.00917.25
7.1.150.0090.00917.20
7.1.140.0040.00817.28
7.1.130.0030.01017.18
7.1.120.0120.00617.32
7.1.110.0120.00317.23
7.1.100.0060.01017.65
7.1.90.0070.00717.08
7.1.80.0070.01117.35
7.1.70.0050.00717.34
7.1.60.0080.01018.52
7.1.50.0070.00917.05
7.1.40.0070.00717.23
7.1.30.0060.00317.11
7.1.20.0080.00517.02
7.1.10.0090.00317.31
7.1.00.0080.05019.76
7.0.330.0070.01016.90
7.0.320.0000.01416.88
7.0.310.0070.01016.93
7.0.300.0060.00617.04
7.0.290.0000.01516.84
7.0.280.0090.00916.82
7.0.270.0060.00616.99
7.0.260.0070.01116.91
7.0.250.0070.00316.87
7.0.240.0080.00817.18
7.0.230.0090.00316.99
7.0.220.0090.00316.86
7.0.210.0040.01117.20
7.0.200.0050.00516.78
7.0.190.0030.00717.13
7.0.180.0070.01016.93
7.0.170.0000.01516.86
7.0.160.0030.00916.98
7.0.150.0100.00316.89
7.0.140.0040.04219.54
7.0.130.0090.00617.11
7.0.120.0060.00616.75
7.0.110.0050.00516.95
7.0.100.0070.00717.04
7.0.90.0030.01016.74
7.0.80.0070.00716.96
7.0.70.0030.02719.36
7.0.60.0070.04319.35
7.0.50.0110.04519.45
7.0.40.0030.03917.55
7.0.30.0010.04817.43
7.0.20.0110.04317.54
7.0.10.0050.03017.46
7.0.00.0080.02817.44
5.6.400.0100.00715.93
5.6.390.0110.00415.80
5.6.380.0110.00315.92
5.6.370.0040.01216.10
5.6.360.0030.00915.68
5.6.350.0030.01015.78
5.6.340.0070.00715.92
5.6.330.0060.00915.68
5.6.320.0090.00615.62
5.6.310.0070.00715.89
5.6.300.0030.00915.96
5.6.290.0060.00915.80
5.6.280.0090.03718.58
5.6.270.0060.00615.61
5.6.260.0030.00715.80
5.6.250.0080.00515.52
5.6.240.0100.00315.67
5.6.230.0030.01315.70
5.6.220.0140.04018.26
5.6.210.0140.03318.13
5.6.200.0080.04318.54
5.6.190.0050.04818.35
5.6.180.0020.04818.44
5.6.170.0070.04618.40
5.6.160.0030.03718.36
5.6.150.0100.04018.43
5.6.140.0050.04818.40
5.6.130.0050.04618.45
5.6.120.0070.03918.39
5.6.110.0070.04318.48
5.6.100.0050.04718.46
5.6.90.0050.02718.37
5.6.80.0040.04718.07
5.6.70.0070.04118.00
5.6.60.0070.04018.00
5.6.50.0150.02818.10
5.6.40.0120.03818.03
5.6.30.0050.04618.13
5.6.20.0030.04818.00
5.6.10.0080.03817.99
5.6.00.0100.04018.19
5.5.380.0040.01615.70
5.5.370.0110.00815.76
5.5.360.0050.04318.00
5.5.350.0070.04718.04
5.5.340.0020.04918.18
5.5.330.0050.04318.36
5.5.320.0080.04718.25
5.5.310.0030.03018.28
5.5.300.0080.04518.25
5.5.290.0060.04818.24
5.5.280.0050.02718.29
5.5.270.0090.04518.35
5.5.260.0020.04118.31
5.5.250.0100.02218.18
5.5.240.0000.03217.82
5.5.230.0030.03017.88
5.5.220.0080.02817.96
5.5.210.0030.02817.83
5.5.200.0060.04017.86
5.5.190.0060.04417.93
5.5.180.0100.03217.79
5.5.170.0000.01515.73
5.5.160.0050.04717.94
5.5.150.0090.02517.90
5.5.140.0060.04117.76
5.5.130.0100.03917.89
5.5.120.0110.03817.95
5.5.110.0030.04317.93
5.5.100.0050.03917.89
5.5.90.0050.04817.89
5.5.80.0010.03417.82
5.5.70.0070.04017.95
5.5.60.0070.03017.78
5.5.50.0080.02117.98
5.5.40.0040.03517.78
5.5.30.0050.02217.68
5.5.20.0020.02617.96
5.5.10.0050.02217.90
5.5.00.0030.02617.78
5.4.450.0050.04316.12
5.4.440.0050.04216.23
5.4.430.0080.02716.12
5.4.420.0070.02516.24
5.4.410.0040.04216.14
5.4.400.0020.02416.05
5.4.390.0030.03516.07
5.4.380.0050.04216.07
5.4.370.0020.04515.94
5.4.360.0020.02716.09
5.4.350.0060.03316.02
5.4.340.0030.03616.02
5.4.330.0000.00713.00
5.4.320.0050.04316.02
5.4.310.0050.04716.02
5.4.300.0110.03616.04
5.4.290.0050.04316.06
5.4.280.0060.03316.01
5.4.270.0020.03115.94
5.4.260.0050.03916.09
5.4.250.0030.04515.97
5.4.240.0120.03716.01
5.4.230.0070.03915.95
5.4.220.0020.02516.09
5.4.210.0030.02216.09
5.4.200.0050.02516.12
5.4.190.0050.02016.02
5.4.180.0110.01715.96
5.4.170.0050.02216.06
5.4.160.0050.02016.09
5.4.150.0020.02316.06
5.4.140.0020.02214.71
5.4.130.0030.02014.68
5.4.120.0020.02214.70
5.4.110.0050.04114.66
5.4.100.0050.01814.68
5.4.90.0040.03514.64
5.4.80.0050.02014.75
5.4.70.0060.01814.71
5.4.60.0020.03714.70
5.4.50.0020.02214.68
5.4.40.0020.02014.68
5.4.30.0050.02214.70
5.4.20.0030.02014.74
5.4.10.0050.02114.68
5.4.00.0020.02014.42
5.3.290.0070.04513.89
5.3.280.0050.02713.91
5.3.270.0020.02413.89
5.3.260.0030.03813.80
5.3.250.0020.02213.86
5.3.240.0020.02613.80
5.3.230.0020.02313.81
5.3.220.0080.01713.79
5.3.210.0050.03513.83
5.3.200.0050.02613.88
5.3.190.0050.02113.85
5.3.180.0020.02513.83
5.3.170.0030.02313.89
5.3.160.0030.02713.92
5.3.150.0040.02013.79
5.3.140.0030.02113.84
5.3.130.0050.02013.76
5.3.120.0030.02213.94
5.3.110.0040.02213.87
5.3.100.0000.02413.54
5.3.90.0050.01813.49
5.3.80.0050.03513.52
5.3.70.0020.02413.56
5.3.60.0020.02413.46
5.3.50.0070.01813.50
5.3.40.0030.02113.54
5.3.30.0020.02213.48
5.3.20.0070.03313.38
5.3.10.0030.01913.38
5.3.00.0030.01913.32
5.2.170.0000.03010.97
5.2.160.0000.03311.14
5.2.150.0030.02711.13
5.2.140.0000.03710.93
5.2.130.0000.03010.94
5.2.120.0000.02711.09
5.2.110.0000.02710.96
5.2.100.0000.03010.91
5.2.90.0030.02011.02
5.2.80.0000.04710.94
5.2.70.0030.02310.93
5.2.60.0000.04011.06
5.2.50.0000.03710.98
5.2.40.0000.03010.86
5.2.30.0030.03010.97
5.2.20.0070.02710.88
5.2.10.0070.02310.89
5.2.00.0000.04010.77
5.1.60.0000.04010.32
5.1.50.0030.03310.32
5.1.40.0000.02310.32
5.1.30.0030.02310.32
5.1.20.0030.03710.36
5.1.10.0000.03010.32
5.1.00.0030.02710.32
5.0.50.0000.02010.32
5.0.40.0000.02310.32
5.0.30.0000.03010.32
5.0.20.0030.01710.32
5.0.10.0000.03710.32
5.0.00.0000.07010.32
4.4.90.0000.01310.32
4.4.80.0000.01310.32
4.4.70.0000.01710.32
4.4.60.0000.01310.32
4.4.50.0000.01310.32
4.4.40.0000.02710.32
4.4.30.0070.02710.32
4.4.20.0000.01710.32
4.4.10.0030.01310.32
4.4.00.0000.02310.32
4.3.110.0030.02010.32
4.3.100.0000.03010.32
4.3.90.0000.03310.32
4.3.80.0000.03310.32
4.3.70.0030.03010.32
4.3.60.0000.03310.32
4.3.50.0070.02310.32
4.3.40.0000.03010.32
4.3.30.0000.03310.32
4.3.20.0000.03710.32
4.3.10.0000.03710.32
4.3.00.0000.03010.32

preferences:
45.7 ms | 401 KiB | 5 Q