3v4l.org

run code in 300+ PHP versions simultaneously
<?php $body = array( 'name' => 'Jane Smith', 'email' => 'some@email.com', 'subject' => 'Checkout this API stuff', 'comment' => 'I just read a great tutorial by this Ben Lobaugh. It taught me amazing things about interacting with APIs in WordPress! You gotta check it out!' ); var_dump($body);

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.70.0090.00916.50
8.3.60.0160.00716.63
8.3.50.0130.00316.43
8.3.40.0130.00718.44
8.3.30.0090.01218.45
8.3.20.0000.00720.22
8.3.10.0000.00821.83
8.3.00.0040.00417.41
8.2.180.0140.00016.35
8.2.170.0090.00922.96
8.2.160.0100.00320.26
8.2.150.0110.00724.18
8.2.140.0080.00024.66
8.2.130.0080.00020.46
8.2.120.0050.00326.35
8.2.110.0070.00322.08
8.2.100.0100.00517.91
8.2.90.0000.00818.01
8.2.80.0070.00417.97
8.2.70.0000.00917.93
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0050.00322.32
8.2.30.0040.00420.85
8.2.20.0080.00017.92
8.2.10.0000.00818.03
8.2.00.0040.00418.05
8.1.280.0080.00625.92
8.1.270.0040.00423.83
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00720.88
8.1.230.0040.00822.67
8.1.220.0030.00517.74
8.1.210.0030.00718.77
8.1.200.0030.00617.23
8.1.190.0040.00417.11
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0020.00518.87
8.1.150.0000.00820.48
8.1.140.0040.00419.50
8.1.130.0030.00318.86
8.1.120.0000.00817.35
8.1.110.0040.00417.30
8.1.100.0060.00317.43
8.1.90.0040.00417.30
8.1.80.0030.00517.26
8.1.70.0000.00817.36
8.1.60.0050.00217.39
8.1.50.0040.00417.34
8.1.40.0030.00717.47
8.1.30.0080.00017.51
8.1.20.0030.00517.64
8.1.10.0040.00417.33
8.1.00.0050.00217.36
8.0.300.0000.00719.69
8.0.290.0080.00016.63
8.0.280.0030.00318.37
8.0.270.0090.00017.21
8.0.260.0030.00316.63
8.0.250.0070.00016.89
8.0.240.0030.00316.77
8.0.230.0070.00316.78
8.0.220.0000.00716.69
8.0.210.0050.00316.82
8.0.200.0000.00616.91
8.0.190.0050.00316.84
8.0.180.0040.00416.73
8.0.170.0000.00716.72
8.0.160.0040.00416.86
8.0.150.0040.00416.62
8.0.140.0040.00416.70
8.0.130.0030.00313.26
8.0.120.0080.00016.75
8.0.110.0040.00416.80
8.0.100.0000.00816.77
8.0.90.0000.00816.88
8.0.80.0070.01116.86
8.0.70.0040.00416.59
8.0.60.0000.00716.70
8.0.50.0050.00316.70
8.0.30.0130.00717.00
8.0.20.0090.01017.40
8.0.10.0070.00016.92
8.0.00.0100.01016.87
7.4.330.0050.00015.55
7.4.320.0040.00416.52
7.4.300.0030.00316.48
7.4.290.0060.00316.49
7.4.280.0060.00316.50
7.4.270.0040.00416.33
7.4.260.0020.00213.19
7.4.250.0000.00716.45
7.4.240.0030.00316.50
7.4.230.0000.00716.43
7.4.220.0090.01316.55
7.4.210.0090.00716.51
7.4.200.0020.00516.53
7.4.160.0110.00516.36
7.4.150.0120.00617.40
7.4.140.0090.00917.86
7.4.130.0080.00916.42
7.4.120.0070.01216.43
7.4.110.0100.01016.25
7.4.100.0170.00716.47
7.4.90.0120.00616.61
7.4.80.0130.00919.39
7.4.70.0110.00716.36
7.4.60.0080.00816.27
7.4.50.0030.01016.23
7.4.40.0080.00916.39
7.4.30.0130.01016.38
7.4.00.0070.00914.84
7.3.330.0000.00612.96
7.3.320.0020.00212.98
7.3.310.0040.00416.08
7.3.300.0060.00015.98
7.3.290.0060.00016.04
7.3.280.0090.00816.11
7.3.270.0120.00617.40
7.3.260.0080.01016.44
7.3.250.0090.01116.36
7.3.240.0090.00916.33
7.3.230.0060.01616.36
7.3.210.0080.01316.05
7.3.200.0080.00816.10
7.3.190.0070.01016.23
7.3.180.0110.00616.41
7.3.170.0060.01016.33
7.3.160.0130.00316.21
7.3.120.0070.01214.72
7.3.110.0030.01414.60
7.3.100.0070.00814.77
7.3.90.0070.00614.75
7.3.80.0100.00514.82
7.3.70.0090.00214.72
7.3.60.0030.00914.63
7.3.50.0060.00914.78
7.3.40.0060.00814.61
7.3.30.0070.00814.56
7.3.20.0080.00716.59
7.3.10.0110.00316.69
7.3.00.0080.00316.38
7.2.330.0090.00916.17
7.2.320.0120.00616.45
7.2.310.0070.01616.52
7.2.300.0180.00316.55
7.2.290.0130.00316.16
7.2.250.0100.01014.63
7.2.240.0060.01114.61
7.2.230.0050.01314.77
7.2.220.0050.00714.68
7.2.210.0090.00814.57
7.2.200.0070.00614.77
7.2.190.0100.00214.78
7.2.180.0050.01014.71
7.2.170.0100.00314.62
7.2.60.0100.00616.60
7.2.00.0030.01019.29
7.1.330.0030.01215.73
7.1.320.0060.00515.78
7.1.310.0080.00515.81
7.1.300.0000.01215.79
7.1.290.0070.00415.58
7.1.280.0120.00515.61
7.1.270.0060.00615.65
7.1.260.0060.00815.46
7.1.200.0060.00915.66
7.1.100.0060.00617.82
7.1.70.2100.01015.30
7.1.60.2100.02333.21
7.1.50.2030.02732.84
7.1.40.1900.01332.50
7.1.30.3500.00732.47
7.1.20.2500.02332.65
7.1.10.2470.00714.47
7.1.00.2030.01714.68
7.0.200.2370.01314.58
7.0.190.2100.01714.67
7.0.180.2930.01014.11
7.0.170.3270.01014.07
7.0.160.3870.01314.40
7.0.150.2170.01714.11
7.0.140.2630.01714.59
7.0.130.2300.01014.48
7.0.120.2570.01714.57
7.0.110.2830.00314.50
7.0.100.3030.01314.60
7.0.90.2400.00714.24
7.0.80.2300.01314.57
7.0.70.2300.01314.30
7.0.60.2700.01714.09
7.0.50.2170.01314.66
7.0.40.2000.01014.55
7.0.30.1900.01314.47
7.0.20.2070.01014.43
7.0.10.2000.01314.57
7.0.00.1570.01314.50

preferences:
46.52 ms | 401 KiB | 5 Q