3v4l.org

run code in 300+ PHP versions simultaneously
<?php Schema::create('sessions', function ($table) { $table->string('id')->unique(); $table->integer('user_id')->nullable(); $table->string('ip_address', 45)->nullable(); $table->text('user_agent')->nullable(); $table->text('payload'); $table->integer('last_activity'); });

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.0110.01118.30
8.3.50.0150.00521.19
8.3.40.0130.00318.63
8.3.30.0090.00618.87
8.3.20.0040.00420.35
8.3.10.0070.00023.56
8.3.00.0090.00023.53
8.2.180.0160.00316.63
8.2.170.0040.01122.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0040.01424.66
8.2.130.0000.00719.82
8.2.120.0040.00426.35
8.2.110.0080.00822.16
8.2.100.0080.00318.04
8.2.90.0080.00019.09
8.2.80.0040.00417.97
8.2.70.0060.00317.48
8.2.60.0050.00317.80
8.2.50.0030.00518.07
8.2.40.0040.00422.23
8.2.30.0020.00519.42
8.2.20.0040.00417.76
8.2.10.0000.00817.99
8.2.00.0040.00417.99
8.1.280.0130.01025.92
8.1.270.0080.00020.36
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00323.97
8.1.230.0110.00019.04
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0050.00517.13
8.1.190.0040.00417.23
8.1.180.0050.00218.10
8.1.170.0000.00718.50
8.1.160.0000.00720.67
8.1.150.0060.00318.65
8.1.140.0040.00419.39
8.1.130.0030.00317.50
8.1.120.0040.00317.38
8.1.110.0000.00717.24
8.1.100.0000.00717.40
8.1.90.0070.00017.35
8.1.80.0040.00417.38
8.1.70.0040.00417.21
8.1.60.0040.00417.47
8.1.50.0040.00417.53
8.1.40.0090.00017.50
8.1.30.0000.00817.57
8.1.20.0060.00317.60
8.1.10.0040.00417.43
8.1.00.0040.00417.47
8.0.300.0020.00518.77
8.0.290.0040.00416.75
8.0.280.0000.00818.27
8.0.270.0040.00417.27
8.0.260.0030.00317.13
8.0.250.0070.00016.87
8.0.240.0030.00316.93
8.0.230.0070.00017.00
8.0.220.0030.00316.95
8.0.210.0070.00016.84
8.0.200.0060.00017.00
8.0.190.0040.00416.84
8.0.180.0070.00016.97
8.0.170.0000.00816.82
8.0.160.0000.00716.79
8.0.150.0000.00716.73
8.0.140.0050.00316.85
8.0.130.0000.00513.29
8.0.120.0050.00316.89
8.0.110.0020.00516.91
8.0.100.0000.00716.93
8.0.90.0040.00416.88
8.0.80.0060.01016.93
8.0.70.0000.00716.80
8.0.60.0080.00016.96
8.0.50.0040.00416.94
8.0.30.0110.00617.00
8.0.20.0170.00417.40
8.0.10.0000.00816.84
8.0.00.0080.01316.80
7.4.330.0050.00016.79
7.4.320.0030.00316.25
7.4.300.0050.00216.57
7.4.290.0070.00016.52
7.4.280.0090.00016.36
7.4.270.0000.00716.46
7.4.260.0050.00316.54
7.4.250.0070.00016.52
7.4.240.0050.00216.54
7.4.230.0000.00716.34
7.4.220.0060.00916.53
7.4.210.0170.00016.50
7.4.200.0000.00816.45
7.4.160.0110.00716.53
7.4.150.0120.00917.40
7.4.140.0130.00617.86
7.4.130.0130.00816.50
7.4.120.0060.01116.41
7.4.110.0030.01316.59
7.4.100.0140.00316.50
7.4.90.0080.00816.45
7.4.80.0110.00719.39
7.4.70.0040.02116.29
7.4.60.0100.01116.45
7.4.50.0030.01416.46
7.4.40.0070.01016.13
7.4.30.0110.00716.29
7.4.00.0030.01015.19
7.3.330.0060.00013.30
7.3.320.0030.00313.13
7.3.310.0000.00716.25
7.3.300.0060.00016.26
7.3.290.0140.00216.34
7.3.280.0090.00716.31
7.3.270.0120.00617.40
7.3.260.0110.00516.31
7.3.250.0120.00516.37
7.3.240.0110.00616.39
7.3.230.0150.00316.39
7.3.210.0110.01216.38
7.3.200.0030.01319.39
7.3.190.0130.01016.37
7.3.180.0070.01016.24
7.3.170.0090.00616.61
7.3.160.0030.01316.44
7.3.120.0110.00415.07
7.3.110.0090.00314.54
7.3.100.0120.00414.72
7.3.90.0060.00615.02
7.3.80.0000.00914.84
7.3.70.0000.01014.87
7.3.60.0070.00414.80
7.3.50.0000.01114.81
7.3.40.0040.00714.71
7.3.30.0040.01214.72
7.3.20.0140.00016.63
7.3.10.0070.00316.43
7.3.00.0090.00016.76
7.2.330.0090.00916.55
7.2.320.0110.01116.49
7.2.310.0080.00816.48
7.2.300.0060.01516.61
7.2.290.0130.00316.44
7.2.240.0090.00614.93
7.2.230.0030.01314.97
7.2.220.0030.01015.00
7.2.210.0150.00015.18
7.2.200.0120.00414.93
7.2.190.0000.01814.79
7.2.180.0030.00714.96
7.2.170.0100.00314.99
7.2.160.0120.00315.01
7.2.150.0030.01316.92
7.2.140.0110.00416.88
7.2.130.0080.00816.77
7.2.120.0000.01616.82
7.2.110.0070.00416.83
7.2.100.0000.01516.75
7.2.90.0000.01416.82
7.2.80.0080.00816.87
7.2.70.0070.00716.92
7.2.60.0020.01116.46
7.2.50.0030.00916.91
7.2.40.0070.01016.63
7.2.30.0000.01116.62
7.2.20.0090.00016.86
7.2.10.0040.01116.53
7.2.00.0060.00518.09
7.1.330.0040.01115.70
7.1.320.0040.01215.77
7.1.310.0040.01115.75
7.1.300.0030.01015.30
7.1.290.0110.00015.50
7.1.280.0000.01215.52
7.1.270.0040.00715.75
7.1.260.0100.00715.63
7.1.250.0090.00315.68
7.1.200.0060.00915.72
7.1.100.0030.00917.87
7.1.70.0030.00617.16
7.1.60.0140.01019.27
7.1.50.0060.01516.80
7.1.00.0070.08722.36
7.0.200.0070.00316.69
7.0.60.0170.07721.69
7.0.50.0130.06317.88
7.0.40.0030.04320.18
7.0.30.0200.03720.09
7.0.20.0370.06720.06
7.0.10.0030.04720.34
7.0.00.0070.05320.19
5.6.280.0000.03320.91
5.6.210.0030.04020.51
5.6.200.0070.08318.29
5.6.190.0070.04720.47
5.6.180.0430.08020.28
5.6.170.0400.07320.52
5.6.160.0100.06720.57
5.6.150.0130.07718.23
5.6.140.0070.08018.14
5.6.130.0100.08318.18
5.6.120.0070.04321.12
5.6.110.0000.04321.03
5.6.100.0030.04020.98
5.6.90.0130.07721.09
5.6.80.0070.03720.36
5.5.350.0070.08320.40
5.5.340.0070.04017.99
5.5.330.0070.08320.27
5.5.320.0530.03720.24
5.5.310.0230.07720.19
5.5.300.0030.04318.07
5.5.290.0000.05718.07
5.5.280.0030.07020.98
5.5.270.0100.04720.96
5.5.260.0100.06020.77
5.5.250.0030.04320.80
5.5.240.0130.06720.20

preferences:
65.59 ms | 401 KiB | 5 Q